Infinite loop in Knot Resolver DNSKEY validation allows denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-835.
Summary
Knot Resolver from 6.0.9 before 6.5.1 contains a loop whose exit condition cannot be reached (CWE-835) in the DNSKEY classification code of validate_keyset(). The loop uses an 8-bit counter over a 16-bit record count, so a signed delegation can return more than 255 bogus DNSKEY records and make the counter wrap. A remote attacker who controls the authoritative server of a signed delegation can trigger this to crash or hang the kresd worker.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade Knot Resolver to version 6.5.1, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA Knot Resolver (CZ.NIC) Fixed in 6.5.1
Timeline
- 2026-12-03 Threatist record created from CVE-2026-144474
- 2026-12-04 Alias added: GHSA-v8f8-74q3-x93v
References
More CZ.NIC vulnerabilities
- TI-2023-27571 Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related… CVSS 3.1HIGH 7.5
- TI-2026-47140 Knot Resolver before 6.4.1 allows remote code execution via a heap-based buffer overflow… CVSS 3.1HIGH 8.1
- TI-2021-08533 BIRD through 2.0.7 does not provide functionality for password authentication of BGP… CVSS 3.1MEDIUM 6.8
- TI-2026-103926 Link following in Knot DNS lets local users escalate to root CVSS 4.0HIGH 7.3
- TI-2021-02344 Foris before 101.1.1, as used in Turris OS, lacks certain HTML escaping in the login template. CVSS 3.1CRITICAL 9.8
- TI-2020-10072 Knot Resolver before 5.1.1 allows traffic amplification via a crafted DNS answer from an… CVSS 3.1HIGH 7.5
Sources
- CVE-2026-144474 · CVE Program
- CVE-2026-144474 · NVD
- GHSA-v8f8-74q3-x93v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences