CVE-2026-40691

  • Severity 7.5 HIGH
  • Published
  • Updated
  • Status Analyzed
  • EUVD EUVD-2026-47664
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.1
EPSS Score
Percentile: 23.53%
Affected Products (NVD)
VendorProductVersion
nlnetlabsunbound
1.9.0 ≤
𝑥
< 1.25.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
unbound
bookworm
unimportant
bookworm (security)
unimportant
forky
1.26.2-1
fixed
sid
1.26.2-1
fixed
trixie
1.26.2-0+deb13u1
fixed
trixie (security)
1.26.2-0+deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
unbound
bionic
Fixed 1.6.7-1ubuntu2.6+esm6
released
focal
Fixed 1.9.4-2ubuntu1.11+esm3
released
jammy
Fixed 1.13.1-1ubuntu5.17
released
noble
Fixed 1.19.2-1ubuntu3.12
released
resolute
Fixed 1.24.2-1ubuntu2.4
released
stonking
Fixed 1.25.1-1ubuntu3.1
released
trusty
not-affected
xenial
not-affected
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
libunbound8
suse enterprise desktop 15 SP7
1.25.2-150600.23.19.1
fixed
suse enterprise sap 15 SP4
1.25.2-150100.10.28.1
fixed
suse enterprise sap 15 SP5
1.25.2-150100.10.28.1
fixed
suse enterprise sap 15 SP6
1.25.2-150600.23.19.1
fixed
suse enterprise sap 15 SP7
1.25.2-150600.23.19.1
fixed
suse enterprise sap 16.0
1.25.2-160000.1.1
fixed
suse enterprise sap 16.1
1.25.2-160100.2.1
fixed
suse enterprise server 15 SP4
1.25.2-150100.10.28.1
fixed
suse enterprise server 15 SP5
1.25.2-150100.10.28.1
fixed
suse enterprise server 15 SP6
1.25.2-150600.23.19.1
fixed
suse enterprise server 15 SP7
1.25.2-150600.23.19.1
fixed
suse enterprise server 16.0
1.25.2-160000.1.1
fixed
suse enterprise server 16.1
1.25.2-160100.2.1
fixed
python3-unbound
suse enterprise sap 16.0
1.25.2-160000.1.1
fixed
suse enterprise sap 16.1
1.25.2-160100.2.1
fixed
suse enterprise server 16.0
1.25.2-160000.1.1
fixed
suse enterprise server 16.1
1.25.2-160100.2.1
fixed
unbound
suse enterprise sap 16.0
1.25.2-160000.1.1
fixed
suse enterprise sap 16.1
1.25.2-160100.2.1
fixed
suse enterprise server 16.0
1.25.2-160000.1.1
fixed
suse enterprise server 16.1
1.25.2-160100.2.1
fixed
unbound-anchor
suse enterprise desktop 15 SP7
1.25.2-150600.23.19.1
fixed
suse enterprise sap 15 SP4
1.25.2-150100.10.28.1
fixed
suse enterprise sap 15 SP5
1.25.2-150100.10.28.1
fixed
suse enterprise sap 15 SP6
1.25.2-150600.23.19.1
fixed
suse enterprise sap 15 SP7
1.25.2-150600.23.19.1
fixed
suse enterprise sap 16.0
1.25.2-160000.1.1
fixed
suse enterprise sap 16.1
1.25.2-160100.2.1
fixed
suse enterprise server 15 SP4
1.25.2-150100.10.28.1
fixed
suse enterprise server 15 SP5
1.25.2-150100.10.28.1
fixed
suse enterprise server 15 SP6
1.25.2-150600.23.19.1
fixed
suse enterprise server 15 SP7
1.25.2-150600.23.19.1
fixed
suse enterprise server 16.0
1.25.2-160000.1.1
fixed
suse enterprise server 16.1
1.25.2-160100.2.1
fixed
unbound-devel
suse enterprise desktop 15 SP7
1.25.2-150600.23.19.1
fixed
suse enterprise sap 15 SP4
1.25.2-150100.10.28.1
fixed
suse enterprise sap 15 SP5
1.25.2-150100.10.28.1
fixed
suse enterprise sap 15 SP6
1.25.2-150600.23.19.1
fixed
suse enterprise sap 15 SP7
1.25.2-150600.23.19.1
fixed
suse enterprise sap 16.0
1.25.2-160000.1.1
fixed
suse enterprise sap 16.1
1.25.2-160100.2.1
fixed
suse enterprise server 15 SP4
1.25.2-150100.10.28.1
fixed
suse enterprise server 15 SP5
1.25.2-150100.10.28.1
fixed
suse enterprise server 15 SP6
1.25.2-150600.23.19.1
fixed
suse enterprise server 15 SP7
1.25.2-150600.23.19.1
fixed
suse enterprise server 16.0
1.25.2-160000.1.1
fixed
suse enterprise server 16.1
1.25.2-160100.2.1
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
unbound
Azure Linux 3.0
0:1.25.2-1.azl3
fixed