Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-40691

Fixed in a distro release EPSS <1%CVSS 7.5

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.

Published 2026-07-22 · CVE record · OSV

Products: NLnet Labs unbound

Distro releases

ReleasePackageFixed in
Debian 12unboundno fix
Debian 13unbound1.26.1-0+deb13u1
Debian 14unbound1.25.2-1
Red Hat hummingbird 1python3-unbound0:1.25.2-0.1.hum1
Red Hat hummingbird 1unbound0:1.25.2-0.1.hum1
Red Hat hummingbird 1unbound-anchor0:1.25.2-0.1.hum1
Red Hat hummingbird 1unbound-devel0:1.25.2-0.1.hum1
Red Hat hummingbird 1unbound-dracut0:1.25.2-0.1.hum1
Red Hat hummingbird 1unbound-libs0:1.25.2-0.1.hum1
Red Hat hummingbird 1unbound-munin0:1.25.2-0.1.hum1
Red Hat hummingbird 1unbound-utils0:1.25.2-0.1.hum1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSunbound1.25.2-150100.10.28.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSunbound1.25.2-150100.10.28.1
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOSunbound1.25.2-150100.10.28.1
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSSunbound1.25.2-150100.10.28.1
SUSE Linux Enterprise Micro 5.5unbound1.25.2-150100.10.28.1
SUSE Linux Enterprise Module for Basesystem 15 SP7unbound1.25.2-150600.23.19.1
SUSE Linux Enterprise Module for Package Hub 15 SP7unbound1.25.2-150600.23.19.1
SUSE Linux Enterprise Server 15 SP4-LTSSunbound1.25.2-150100.10.28.1
SUSE Linux Enterprise Server 15 SP5-LTSSunbound1.25.2-150100.10.28.1
SUSE Linux Enterprise Server 15 SP6-LTSSunbound1.25.2-150600.23.19.1
SUSE Linux Enterprise Server 16.0unbound1.25.2-160000.1.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4unbound1.25.2-150100.10.28.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5unbound1.25.2-150100.10.28.1
SUSE Linux Enterprise Server for SAP Applications 15 SP6unbound1.25.2-150600.23.19.1
SUSE Linux Enterprise Server for SAP applications 16.0unbound1.25.2-160000.1.1
SUSE Linux Micro 6.0unbound1.25.2-1.1
SUSE Linux Micro 6.1unbound1.25.2-slfo.1.1_1.1
SUSE Linux Micro 6.2unbound1.25.2-160000.1.1
Ubuntu 22.04 LTSunbound1.13.1-1ubuntu5.17
Ubuntu 24.04 LTSunbound1.19.2-1ubuntu3.12
Ubuntu 26.04 LTSunbound1.24.2-1ubuntu2.4
Ubuntu 26.10unboundno fix
Ubuntu Pro 14.04 LTSunbound1.4.22-1ubuntu4.14.04.3+esm5
Ubuntu Pro 16.04 LTSunbound1.5.8-1ubuntu1.1+esm5
Ubuntu Pro 18.04 LTSunbound1.6.7-1ubuntu2.6+esm6
Ubuntu Pro 20.04 LTSunbound1.9.4-2ubuntu1.11+esm3
openSUSE Leap 16.0unbound1.25.2-160000.1.1
openSUSE Tumbleweedunbound1.25.2-1.1