CVE-2026-50046

Possible heap use-after-free in an error path when a DoT forwarded query is jostled out

CVE-2026-50046 is fixed in 12 products on 1 platform, first by DEBIAN-CVE-2026-50046, released July 28, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.9
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0024
14th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
python3-unbound · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026
python3-unbound-debuginfo · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026
unbound · Debian 13.5 (trixie) 1.26.1-0+deb13u1 DEBIAN-CVE-2026-50046 Jul 28, 2026
unbound · Debian 14 1.25.2-1 DEBIAN-CVE-2026-50046 Jul 28, 2026
unbound · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026
unbound · opensuse-leap 16.0 1.25.2-160000.1.1 OPENSUSE-SU-2026:21550-1 Aug 10, 2026
unbound · sles 15.6 1.25.2-150600.23.19.1 SUSE-SU-2026:3885-1 Aug 31, 2026
unbound · sles 15.7 1.25.2-150600.23.19.1 SUSE-SU-2026:3885-1 Aug 31, 2026
unbound · sles 16.0 1.25.2-160000.1.1 SUSE-SU-2026:23226-1 Aug 10, 2026
unbound-anchor · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026
unbound-anchor-debuginfo · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026
unbound-debuginfo · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026
unbound-debugsource · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026
unbound-devel · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026
unbound-libs · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026
unbound-libs-debuginfo · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026
unbound-utils · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026
unbound-utils-debuginfo · amzn 2023 1.17.1-1.amzn2023.0.13 ALAS2023-2026-2033 Aug 3, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.