Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Knot Resolver with DoQ enabled
-
DeliveryCraft malformed DNS-over-QUIC packet
-
ExploitTrigger heap buffer overflow in receive path
-
ExecutionGroom heap for control-flow hijack
-
ImpactExecute arbitrary code in resolver process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
|
| Exploitation Conditions | Exploitation requires that the target Knot Resolver (version < 6.4.1) has the DNS-over-QUIC (DoQ) listener enabled and network-reachable - DoQ is the exact feature carrying the vulnerable receive path, and if DoQ is not configured the vector is not exposed. No authentication and no user interaction are needed (PR:N/UI:N), so any client able to send QUIC DNS traffic to the listener can attempt it. The primary limiting factors are high attack complexity (AC:H) - reliably turning the heap overflow into code execution is non-trivial and may need multiple attempts - and the deployment prerequisite that DoQ is turned on, which is not universal. |
| Impact | The signals are moderately strong but not maximal. The supplied CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N, base 8.1) shows network reachability with no authentication or user interaction, but AC:H reflects the real difficulty of reliably weaponizing a heap overflow into code execution. A vendor patch (6.4.1) is available and a public POC exists, which raises practical risk above a theoretical bug; however, absence from CISA KEV and no EPSS score in the input mean widespread automated exploitation is not evidenced. Note a tension in the input: the vector's impact metrics (C:L/I:H/A:L with S:C) are unusually low for something labeled 'remote code execution' - full RCE would normally warrant high confidentiality/integrity/availability impact, so the published score likely understates worst-case impact; treat the RCE description as the governing risk driver and verify impact metrics against the vendor advisory. A meaningful limiting factor is that DoQ must actually be enabled and exposed, which many deployments do not do by default. |
| Exploit ScenarioDerived | An attacker locates an internet- or network-reachable Knot Resolver with DoQ enabled and sends a crafted DNS-over-QUIC packet whose length/size fields are inconsistent with the payload, overflowing a heap buffer in the receive path. Using the published 'knot-doq' proof-of-concept as a starting point, the attacker grooms the heap to convert the overflow into arbitrary code execution in the resolver process; the high attack complexity means reliable exploitation may require several attempts and target-specific tuning. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 25, 2026
Remote code execution in Knot Resolver versions prior to 6.4.1 stems from a heap-based buffer overflow triggered along the DNS-over-QUIC (DoQ) receive path, allowing a remote unauthenticated attacker to corrupt heap memory by sending malformed QUIC-transported DNS traffic to an exposed resolver. Because the flaw lives in the query-receiving code, any Knot Resolver instance that has DoQ listening is reachable over the network without credentials. Publicly available exploit code exists (a dedicated 'knot-doq' proof-of-concept was published), and the issue was disclosed via oss-security; it is not listed in CISA KEV, so there is no confirmation of active exploitation yet.
RemediationAI
Upgrade to Knot Resolver 6.4.1 or later, which contains the vendor fix (Vendor-released patch: 6.4.1); on Debian and derivatives, apply the distribution's patched package via the security tracker since six releases are affected. If immediate patching is not possible, the most direct compensating control is to disable the DoQ (DNS-over-QUIC) listener or otherwise stop accepting QUIC-transported DNS, which removes the vulnerable receive path entirely - the trade-off is loss of DoQ service to clients relying on it. As a network control, restrict or block inbound UDP/443 (or the configured DoQ port) at the firewall so only trusted networks can reach the resolver, accepting that this narrows legitimate DoQ reachability. Reference the disclosure at https://openwall.com/lists/oss-security/2026/07/23/6 and the NVD page for tracking.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Knot Resolver is the caching/validating DNS resolver developed by CZ.NIC (CPE vendor 'nic'), commonly built with modern transport support including DNS-over-QUIC (RFC 9250). DoQ layers DNS message framing on top of the QUIC transport, and the parsing/reassembly of QUIC-delivered DNS payloads is where the overflow occurs. The root cause maps to CWE-1284 (Improper Validation of Specified Quantity in Input): a length/count field or buffer-size assumption in the DoQ receive routine is not validated against the actual data, so attacker-controlled input writes past the bounds of a heap allocation, corrupting adjacent heap structures and enabling control-flow hijack characteristic of memory-safety RCE bugs.
Know when Knot Resolver gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L
Remote unauthenticated network reachability (AV:N/PR:N/UI:N) but heap-overflow weaponization and DoQ-only exposure make it AC:H; full RCE justifies C/I/A:H within the resolver process (S:U).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
Knot Resolver before 6.4.1 allows remote code execution via a heap-based buffer overflow in the DoQ (DNS-over-QUIC) receive path.
Executive ViewAI
A remote code execution vulnerability in Knot Resolver (versions prior to 6.4.1) allows unauthenticated attackers to compromise DNS infrastructure through malformed network traffic, with publicly available exploit code already in circulation. Organizations operating Knot Resolver with DNS-over-QUIC (DoQ) enabled face immediate risk of complete system compromise, enabling DNS poisoning, traffic redirection, and lateral network access without requiring authentication or user action.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Knot Resolver
View allknot-resolver before version 4.3.0 is vulnerable to denial of service through high CPU utilization. Rated high severity
Knot Resolver before 5.7.0 performs many TCP reconnections upon receiving certain nonsensical responses from servers. Ra
Knot Resolver before 5.6.0 enables attackers to consume its resources, launching amplification attacks and potentially c
Knot Resolver before 5.5.3 allows remote attackers to cause a denial of service (CPU consumption) because of algorithmic
Knot Resolver before 5.3.2 is prone to an assertion failure, triggerable by a remote attacker in an edge case (NSEC3 wit
Knot Resolver before 5.1.1 allows traffic amplification via a crafted DNS answer from an attacker-controlled server, aka
A vulnerability was discovered in DNS resolver of knot resolver before version 4.1.0 which allows remote attackers to do
A vulnerability was discovered in DNS resolver component of knot resolver through version 3.2.0 before 4.1.0 which allow
Improper input validation bug in DNS resolver component of Knot Resolver before 2.4.1 allows remote attacker to poison c
Knot Resolver through 5.5.1 may allow DNS cache poisoning when there is an attempt to limit forwarding actions by filter
Improper input validation bugs in DNSSEC validators components in Knot Resolver (prior version 1.5.2) allow attacker in
Vendor StatusVendor
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bullseye | vulnerable | 5.3.1-1+deb11u1 | - |
| bookworm, bookworm (security) | vulnerable | 5.6.0-1+deb12u1 | - |
| trixie | vulnerable | 5.7.5-1 | - |
| forky | vulnerable | 6.4.0-1 | - |
| sid | fixed | 6.4.1-1 | - |
| (unstable) | fixed | 6.4.1-1 | - |
EUVD-2026-48763
GHSA-pw7g-jh5j-6w4m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB