Skip to main content

Knot Resolver EUVDEUVD-2026-48763

| CVE-2026-66374 HIGH
Improper Validation of Specified Quantity in Input (CWE-1284)
2026-07-25 mitre GHSA-pw7g-jh5j-6w4m
8.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Knot Resolver with DoQ enabled
  2. Delivery
    Craft malformed DNS-over-QUIC packet
  3. Exploit
    Trigger heap buffer overflow in receive path
  4. Execution
    Groom heap for control-flow hijack
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Knot Resolver 0 <6.4.1

Affected Packages

euvd knot_resolver fix: 6.4.1

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

Vendor (mitre) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L
vuln.today AI 8.1 HIGH

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
Low

Lifecycle Timeline

2
Patch available
Jul 25, 2026 - 02:17 EUVD
CVE Published
Jul 25, 2026 - 00:28 cve.org
HIGH 8.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche CZ.NIC DNS resolver, and DoQ listener rarely enabled by default
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2019-19331 HIGH POC
7.5 Dec 16

knot-resolver before version 4.3.0 is vulnerable to denial of service through high CPU utilization. Rated high severity

CVE-2023-46317 HIGH
7.5 Oct 22

Knot Resolver before 5.7.0 performs many TCP reconnections upon receiving certain nonsensical responses from servers. Ra

CVE-2023-26249 HIGH
7.5 Feb 21

Knot Resolver before 5.6.0 enables attackers to consume its resources, launching amplification attacks and potentially c

CVE-2022-40188 HIGH
7.5 Sep 23

Knot Resolver before 5.5.3 allows remote attackers to cause a denial of service (CPU consumption) because of algorithmic

CVE-2021-40083 HIGH
7.5 Aug 25

Knot Resolver before 5.3.2 is prone to an assertion failure, triggerable by a remote attacker in an edge case (NSEC3 wit

CVE-2020-12667 HIGH
7.5 May 19

Knot Resolver before 5.1.1 allows traffic amplification via a crafted DNS answer from an attacker-controlled server, aka

CVE-2019-10191 HIGH
7.5 Jul 16

A vulnerability was discovered in DNS resolver of knot resolver before version 4.1.0 which allows remote attackers to do

CVE-2019-10190 HIGH
7.5 Jul 16

A vulnerability was discovered in DNS resolver component of knot resolver through version 3.2.0 before 4.1.0 which allow

CVE-2018-10920 MEDIUM
6.8 Aug 02

Improper input validation bug in DNS resolver component of Knot Resolver before 2.4.1 allows remote attacker to poison c

CVE-2022-32983 MEDIUM
5.3 Jun 20

Knot Resolver through 5.5.1 may allow DNS cache poisoning when there is an attempt to limit forwarding actions by filter

CVE-2018-1000002 LOW
3.7 Jan 22

Improper input validation bugs in DNSSEC validators components in Knot Resolver (prior version 1.5.2) allow attacker in

Vendor StatusVendor

Debian

knot-resolver
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 -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy