CVE-2026-66374

Knot Resolver Heap Buffer Overflow in DoQ Receive Path

Published Jul 25, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Knot Resolver before 6.4.1 allows remote code execution via a heap-based buffer overflow in the DoQ (DNS-over-QUIC) receive path.

Analysis

AI-generated

Technical impact

The vulnerability is a heap‑based buffer overflow in the DNS‑over‑QUIC receive path of Knot Resolver before version 6.4.1. The overflow can be triggered by a malicious DoQ request and allows an attacker to execute arbitrary code in the resolver process, potentially compromising the host entirely. The flaw is categorized as CWE‑1284 due to a size miscalculation of an incoming message.

Affected Systems

The affected product is Knot Resolver from nic. Any installation on or before 6.4.0 is vulnerable. The issue is specific to the DoQ implementation; disabling DoQ removes the exploit surface, but an official unsupported workaround is not provided.

Risk and Exploitability

The CVSS score is 8.1, indicating high severity. The EPSS score of less than 1 % suggests that exploitation has not been widely observed, and the flaw is not listed in CISA’s KEV catalog. Nevertheless, the defect can be exploited remotely via crafted QUIC packets sent to the resolver’s DoQ port, making it a network‑accessible attack vector. Successful exploitation would allow the attacker to run code with the resolver’s privileges and potentially gain full system control.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Knot Resolver to version 6.4.1 or newer where the DoQ buffer overflow has been fixed.
  • If an immediate update is not possible, disable the DoQ service or block incoming QUIC traffic (UDP port 784) to the resolver from untrusted sources.
  • Monitor logs for anomalous QUIC packets and apply network segmentation to limit exposure of the resolver to trusted hosts.

Generated by OpenCVE AI on August 3, 2026 at 19:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Knot Resolver Heap Buffer Overflow in DoQ Receive Path
Type Values Removed Values Added
Title Remote Code Execution via DoQ Heap Buffer Overflow in Knot Resolver
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Remote Code Execution via DoQ Heap Buffer Overflow in Knot Resolver
Type Values Removed Values Added
Description Knot Resolver before 6.4.1 allows remote code execution via a heap-based buffer overflow in the DoQ (DNS-over-QUIC) receive path.
First Time appeared Nic
Nic knot Resolver
Weaknesses CWE-1284
CPEs cpe:2.3:a:nic:knot_resolver:*:*:*:*:*:*:*:*
Vendors & Products Nic
Nic knot Resolver
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L'}

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 27, 2026, 2:36 PM
Reserved
Jul 25, 2026, 12:28 AM
Status
Deferred
Published
Jul 25, 2026, 1:16 AM
Modified
Oct 24, 2026, 1:10 PM