cve.bz

CVE-2026-50046 nlnetlabs unbound: Use After Free

5.9 mediumEPSS 0.2%

Medium (5.9) in nlnetlabs unbound. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-50046 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-50046?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-50046?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-50046 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-50046

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-50046](https://cve.bz/cve/badge/CVE-2026-50046.svg)](https://cve.bz/cve/CVE-2026-50046)

HTML:

<a href="https://cve.bz/cve/CVE-2026-50046"><img src="https://cve.bz/cve/badge/CVE-2026-50046.svg" alt="CVE-2026-50046"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NLnet Labs Unboundfrom 1.15.0 before 1.25.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12unboundno fix listedDEBIAN-CVE-2026-50046
Debian13unbound1.26.1-0+deb13u1DEBIAN-CVE-2026-50046
Debian14unbound1.25.2-1DEBIAN-CVE-2026-50046
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 5 moreunboundno fix listedUBUNTU-CVE-2026-50046
Red Hatenterprise_linux:9::appstreampython3-unbound, unbound-debuginfo, unbound-debugsource and 2 more0:1.26.1-1.el9_9RHSA-2026:97497
Red Hatenterprise_linux:9::baseosunbound, unbound-libs, unbound-dracut and 4 more0:1.26.1-1.el9_9RHSA-2026:97497
Red Hatenterprise_linux:9::crbunbound-devel, unbound-debuginfo, unbound-debugsource and 2 more0:1.26.1-1.el9_9RHSA-2026:97497
Red Hatenterprise_linux:10.3unbound, unbound-libs, unbound-devel and 10 more0:1.26.1-2.el10_3RHSA-2026:97121
Red Hathummingbird:1unbound, unbound-libs, unbound-devel and 5 more0:1.25.2-0.1.hum1RHSA-2026:43588
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 6 moreunbound1.25.2-150100.10.28.1SUSE-SU-2026:3884-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 1 moreunbound1.25.2-150600.23.19.1SUSE-SU-2026:3885-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0unbound1.25.2-160000.1.1SUSE-SU-2026:23215-1 SUSE-SU-2026:23226-1
SUSELinux Micro 6.0unbound1.25.2-1.1SUSE-SU-2026:23360-1
SUSELinux Micro 6.1unbound1.25.2-slfo.1.1_1.1SUSE-SU-2026:23349-1
SUSELinux Micro 6.2unbound1.25.2-160000.1.1SUSE-SU-2026:23050-1
openSUSELeap 16.0unbound1.25.2-160000.1.1openSUSE-SU-2026:21550-1
openSUSETumbleweedunbound1.25.2-1.1openSUSE-SU-2026:11380-1
Rocky Linux9unbound, unbound-libs, unbound-devel and 6 more0:1.26.1-1.el9_9RLSA-2026:97497
Rocky Linux10unbound, unbound-libs, unbound-devel and 10 more0:1.26.1-2.el10_3RLSA-2026:97121
Alpinev3.22, v3.23, v3.24unbound1.25.2-r0ALPINE-CVE-2026-50046
Azure Linux3unbound1.25.2-1AZL-92970

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Unbound installations within Red Hat environments are vulnerable to a denial of service, leading to a daemon crash, only when specifically configured with DNS-over-TLS (DoT) forwarding or stub zones that include an `#authname` suffix. Exploitation by a remote attacker necessitates precise timing during transient network failures. Default Unbound configurations, which do not employ DoT forwarding or stub zones with `#authname`, are not affected. Hence, this is rated having low impact.

Red Hat's mitigation

To mitigate this issue, avoid configuring Unbound with a `#authname` suffix in DNS-over-TLS (DoT) forwarding or stub zones if not strictly required. If the `#authname` suffix is necessary, restrict network access to the Unbound instance to trusted clients only. This may involve configuring firewall rules to limit inbound connections to the DoT port (typically 853) from known, secure sources. After modifying Unbound's configuration, the service must be reloaded or restarted for the changes to take effect. This action may temporarily interrupt DNS resolution services.

ProductPackageStateAdvisory
Red Hat Hardened Imagesunbound-main-1.25.2-0.1.hum1Fixed 2026-07-22RHSA-2026:43588
Red Hat Enterprise Linux 10unboundFix deferred
Red Hat Enterprise Linux 6unboundNot affected
Red Hat Enterprise Linux 7unboundNot affected
Red Hat Enterprise Linux 8unboundFix deferred
Red Hat Enterprise Linux 9unboundFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-50046.

References

Check your stackJSON