CVE-2026-144474: Knot Resolver 6.0.9 before 6.5.1 Denial of Service via Oversized DNSKEY RRset
Knot Resolver 6.0.9 before 6.5.1 contains a loop with unreachable exit condition in validatekeyset() in lib/layer/validate.c, where the loop that classifies a failed DNSKEY validation for extended DNS errors iterates over the zone cut's DNSKEY RRset with an 8-bit counter although the record count is 16-bit. Remote attackers who control the authoritative server of a signed delegation and can cause the resolver to look up a name in it can return more than 255 DNSKEY records with a bogus signature, so that the counter wraps and the loop walks past the end of the RRset, crashing or hanging the kresd worker.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.5.1
Event History
Frequently Asked Questions
Which deployments are realistically exposed to this issue?
Knot Resolver versions from 6.0.9 up to, but not including, 6.5.1 are affected. Exploitation requires the resolver to query a signed delegation whose authoritative DNS server is controlled by an attacker.
What must an attacker do to trigger the denial of service?
The attacker must cause the resolver to look up a name in the attacker-controlled signed delegation, then return a DNSKEY RRset containing more than 255 records with a bogus signature. No authentication or user interaction is required.
What is the operational impact of successful exploitation?
The malformed DNSKEY response can cause the kresd worker to crash or hang. This is an availability impact; the provided information does not indicate confidentiality or integrity impact.
What version should be deployed to remediate the issue?
Upgrade Knot Resolver to version 6.5.1 or later. The issue affects releases before 6.5.1 beginning with 6.0.9.