Description
Knot Resolver 6.0.9 before 6.5.1 contains a loop with unreachable exit condition in validate_keyset() 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
No affected versions have been published.
Timeline
- Published
- Dec 4, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Received