7.5

CVE-2026-40691: Packet of death for DNSCrypt over TCP

Analyzed
AliasesUBUNTU-CVE-2026-40691DEBIAN-CVE-2026-40691
Published 22-07-2026Last modified 22-07-2026

Vulnerability summary

CVE-2026-40691 is a high (CVSS 7.5) Heap-based Buffer Overflow vulnerability in nlnet labs unbound. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.5% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.29%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 15 · Related 11

Timeline

  1. 22-07-2026
    PublishedVulnerability first disclosed.
  2. 22-07-2026
    Last modifiedVulnerability information updated.

Description

In Unbound 1.9.0 up to and including 1.25.1, when a DNSCrypt query is received over TCP, the routine that encrypts the reply in place fails to bound the reply length against the destination buffer size. The size clamp that protects the UDP path is not applied on the TCP path, so a reply larger than 65504 bytes is shifted forward by 48 bytes inside a buffer of capacity equal to 'msg-buffer-size', writing past the end of the heap allocation. A single malicious encrypted query crashes the resolver and lead to denial of service. This vulnerability needs Unbound to be compiled with DNSCrypt support ('--enable-dnscrypt') and the 'dnscrypt:' clause to be configured and enabled for the listening interfaces.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.29%

Chance of exploitation in the next 30 days

Percentile

24%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.29% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • unboundAll versions (No fix recorded) | < 1.26.1-0+deb13u1 | < 1.25.2-1
Nlnet labs1 product
Nlnetlabs1 product
Ubuntu1 product
  • unboundAll versions (No fix recorded) | < 1.6.7-1ubuntu2.6+esm6 | < 1.9.4-2ubuntu1.11+esm3 | < 1.13.1-1ubuntu5.17 | < 1.19.2-1ubuntu3.12 | < 1.25.1-1ubuntu3.1 | < 1.24.2-1ubuntu2.4

4 vendors · 4 products

References

8 links