CVE-2026-50046
Fixed in a distro release EPSS <1%CVSS 5.9
In NLnet Labs Unbound 1.15.0 up to and including 1.25.1, the TLS server name used for DNS-over-TLS (DoT) forwarded queries is tied to a struct's ('serviced_query') lifetime but also referenced by another struct ('waiting_tcp'). When the owning struct is jostled out of the mesh while the DoT TCP stream is still handshaking it frees the storage behind the referenced string and if the TLS stream then errors out, it dereferences the freed pointer. The dereference is read-only and the practical impact is a daemon crash resulting in denial of service. A malicious actor that knows a DoT forwarding/stub Unbound's configuration could exploit the vulnerability by quering records in the appropriate zone while keeping Unbound uder pressure so that the jostle logic kicks in. If answers for the vulnerable zone are slow, the likelihood of jostling such queries is higher, although the timing of the jostle needs to be precise. Requirements for a vulnerable Unbound is the existence of a stub/forward zone configured for DoT together with a configured '#authname' suffix on the server identification. The connectivity to the server needs to exhibit a transient failure at the correct time in order to kick off the vulnerable error path.
Products: NLnet Labs unbound
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.22 | unbound | 1.25.2-r0 |
| Alpine 3.23 | unbound | 1.25.2-r0 |
| Alpine 3.24 | unbound | 1.25.2-r0 |
| Amazon Linux 2023 | python3-unbound | 1.17.1-1.amzn2023.0.13 |
| Amazon Linux 2023 | unbound | 1.17.1-1.amzn2023.0.13 |
| Amazon Linux 2023 | unbound-anchor | 1.17.1-1.amzn2023.0.13 |
| Amazon Linux 2023 | unbound-devel | 1.17.1-1.amzn2023.0.13 |
| Amazon Linux 2023 | unbound-libs | 1.17.1-1.amzn2023.0.13 |
| Amazon Linux 2023 | unbound-utils | 1.17.1-1.amzn2023.0.13 |
| Debian 12 | unbound | no fix |
| Debian 13 | unbound | 1.26.1-0+deb13u1 |
| Debian 14 | unbound | 1.25.2-1 |
| Red Hat hummingbird 1 | python3-unbound | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-anchor | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-devel | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-dracut | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-libs | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-munin | 0:1.25.2-0.1.hum1 |
| Red Hat hummingbird 1 | unbound-utils | 0:1.25.2-0.1.hum1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Micro 5.5 | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | unbound | 1.25.2-150600.23.19.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | unbound | 1.25.2-150600.23.19.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | unbound | 1.25.2-150600.23.19.1 |
| SUSE Linux Enterprise Server 16.0 | unbound | 1.25.2-160000.1.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | unbound | 1.25.2-150100.10.28.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | unbound | 1.25.2-150600.23.19.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | unbound | 1.25.2-160000.1.1 |
| SUSE Linux Micro 6.0 | unbound | 1.25.2-1.1 |
| SUSE Linux Micro 6.1 | unbound | 1.25.2-slfo.1.1_1.1 |
| SUSE Linux Micro 6.2 | unbound | 1.25.2-160000.1.1 |
| Ubuntu 22.04 LTS | unbound | no fix |
| Ubuntu 24.04 LTS | unbound | no fix |
| Ubuntu 26.04 LTS | unbound | no fix |
| Ubuntu 26.10 | unbound | no fix |
| Ubuntu Pro 14.04 LTS | unbound | no fix |
| Ubuntu Pro 16.04 LTS | unbound | no fix |
| Ubuntu Pro 18.04 LTS | unbound | no fix |
| Ubuntu Pro 20.04 LTS | unbound | no fix |
| openSUSE Leap 16.0 | unbound | 1.25.2-160000.1.1 |
| openSUSE Tumbleweed | unbound | 1.25.2-1.1 |