CVE-2026-66374
Received Received - Intake

Heap-based Buffer Overflow in Knot Resolver

Vulnerability report for CVE-2026-66374, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-25

Last updated on: 2026-07-25

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-25
Last Modified
2026-07-25
Generated
2026-07-25
AI Q&A
2026-07-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
cz.nic knot_resolver to 6.4.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1284 The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-66374 is a heap-based buffer overflow in Knot Resolver's DNS-over-QUIC (DoQ) receive path. It allows remote code execution due to incorrect buffer size tracking during the reassembly of inbound DoQ STREAM frames. An attacker can send a crafted QUIC connection with multiple STREAM frames to trigger a heap out-of-bounds write, potentially overwriting memory and enabling code execution as the knot-resolver user.

Detection Guidance

To detect this vulnerability, check the version of Knot Resolver running on your system. Run: knotd --version. If the version is below 6.4.1, the system is vulnerable. Additionally, monitor network traffic for DoQ (DNS-over-QUIC) connections, especially those sending multiple STREAM frames in a single QUIC connection.

Impact Analysis

This vulnerability allows unauthenticated remote attackers to execute arbitrary code on systems running vulnerable Knot Resolver versions. Successful exploitation could lead to full system compromise, data theft, or service disruption. The attack requires only a single QUIC connection and works without requiring information leaks if ASLR is disabled.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection requirements and HIPAA's security rules for protected health information. Organizations using vulnerable Knot Resolver versions may face compliance violations, legal penalties, and reputational damage if exploited.

Mitigation Strategies

Immediately upgrade Knot Resolver to version 6.4.1 or later. If upgrading is not possible, disable the DoQ (DNS-over-QUIC) listener in the Knot Resolver configuration to prevent exploitation. Restrict network access to the DoQ port (typically 853/udp) if DoQ is not required.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-66374. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart