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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NLnet Labs | Unbound | 1.9.0 – < 1.25.2 | 1.25.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | unbound | 1.25.2-1 | — |
| Debian 13 | unbound | 1.26.1-0+deb13u1 | — |
| Debian 12 | unbound | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | unbound | 1.25.1-1ubuntu3.1 | USN-8946-2 |
| Ubuntu 26.04 LTS | unbound | 1.24.2-1ubuntu2.4 | USN-8946-1 |
| Ubuntu 24.04 LTS | unbound | 1.19.2-1ubuntu3.12 | USN-8946-1 |
| Ubuntu 22.04 LTS | unbound | 1.13.1-1ubuntu5.17 | USN-8946-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | unbound | 1.9.4-2ubuntu1.11+esm3 | USN-8946-1 |
| Ubuntu Pro 18.04 LTS | unbound | 1.6.7-1ubuntu2.6+esm6 | USN-8946-1 |
| Ubuntu Pro 16.04 LTS | unbound | 1.5.8-1ubuntu1.1+esm5 | USN-8946-1 |
| Ubuntu Pro 14.04 LTS | unbound | 1.4.22-1ubuntu4.14.04.3+esm5 | USN-8946-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | unbound +7 | 1.25.2-0.1.hum1 | RHSA-2026:43588 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | unbound | 1.25.2-150600.23.19.1 | SUSE-SU-2026:3885-1 |
| SLES 15 SP6 | unbound | 1.25.2-150600.23.19.1 | SUSE-SU-2026:3885-1 |
| SLES 15 SP5 | unbound | 1.25.2-150100.10.28.1 | SUSE-SU-2026:3884-1 |
| SLES 15 SP4 | unbound | 1.25.2-150100.10.28.1 | SUSE-SU-2026:3884-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | unbound | 1.25.2-160000.1.1 | SUSE-SU-2026:23226-1, SUSE-SU-2026:23215-1 |
| SLES for SAP 15 SP6 | unbound | 1.25.2-150600.23.19.1 | SUSE-SU-2026:3885-1 |
| SLES for SAP 15 SP5 | unbound | 1.25.2-150100.10.28.1 | SUSE-SU-2026:3884-1 |
| SLES for SAP 15 SP4 | unbound | 1.25.2-150100.10.28.1 | SUSE-SU-2026:3884-1 |
| SLES 16.0 | unbound | 1.25.2-160000.1.1 | SUSE-SU-2026:23226-1, SUSE-SU-2026:23215-1 |
| SLE Micro 6.2 | unbound | 1.25.2-160000.1.1 | SUSE-SU-2026:23050-1 |
| SLE Micro 6.1 | unbound | 1.25.2-slfo.1.1_1.1 | SUSE-SU-2026:23349-1 |
| SLE Micro 6.0 | unbound | 1.25.2-1.1 | SUSE-SU-2026:23360-1 |
| SLE Micro 5.5 | unbound | 1.25.2-150100.10.28.1 | SUSE-SU-2026:3884-1 |
| SLE HPC 15 SP5 | unbound | 1.25.2-150100.10.28.1 | SUSE-SU-2026:3884-1 |
| SLE HPC 15 SP4 | unbound | 1.25.2-150100.10.28.1 | SUSE-SU-2026:3884-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | unbound | 1.25.2-1.1 | openSUSE-SU-2026:11380-1 |
| openSUSE Leap 16.0 | unbound | 1.25.2-160000.1.1 | openSUSE-SU-2026:21550-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | unbound | 1.25.2-1 | — |
Advisories 14
- USN-8946-2 unbound vulnerabilities Ubuntu Security Notices (USN) · Nov 11, 2026
- WID-SEC-2026-2492 Unbound: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 10, 2026
- USN-8946-1 unbound vulnerabilities Ubuntu Security Notices (USN) · Oct 21, 2026
- RHSA-2026:43588 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- SUSE-SU-2026:3885-1 Security update for unbound SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:3884-1 Security update for unbound SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:23349-1 Security update for unbound SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:23360-1 Security update for unbound SUSE / openSUSE Security Updates · Sep 10, 2026
- SUSE-SU-2026:23226-1 Security update for unbound SUSE / openSUSE Security Updates · Aug 27, 2026
- SUSE-SU-2026:23215-1 Security update for unbound SUSE / openSUSE Security Updates · Aug 27, 2026
- WID-SEC-2026-3038 Meinberg LANTIME: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 26, 2026
- openSUSE-SU-2026:21550-1 Security update for unbound SUSE / openSUSE Security Updates · Aug 12, 2026
- SUSE-SU-2026:23050-1 Security update for unbound SUSE / openSUSE Security Updates · Aug 12, 2026
- openSUSE-SU-2026:11380-1 libunbound8-1.25.2-1.1 on GA media SUSE / openSUSE Security Updates · Jul 27, 2026
References
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-40691.txt vendor-advisory