Skip to main content

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… (CVE-2026-50046)

0
Medium
Published: 07/22/2026 (07/22/2026, 14:17:00 UTC)
Source: GCVE Database
Product: unbound

Description

NLnet Labs Unbound versions 1.15.0 through 1.25.1 contain a vulnerability in the handling of TLS server names for DNS-over-TLS (DoT) forwarded queries. A use-after-free condition can occur during the DoT TCP handshake if the owning struct is removed prematurely, leading to a daemon crash and denial of service. Exploitation requires a specific configuration with a stub/forward zone using DoT and an '#authname' suffix, as well as precise timing of transient connection failures.

CVSS v3.1

Score 5.9medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
unbound
pkg:deb/ubuntu/unbound?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=1.4.20-1=1.4.21-1=1.4.21-1ubuntu1=1.4.21-1ubuntu2=1.4.22-1ubuntu1=1.4.22-1ubuntu2=1.4.22-1ubuntu3=1.4.22-1ubuntu4=1.4.22-1ubuntu4.14.04.1=1.4.22-1ubuntu4.14.04.2=1.4.22-1ubuntu4.14.04.3=1.4.22-1ubuntu4.14.04.3+esm1=1.4.22-1ubuntu4.14.04.3+esm2=1.4.22-1ubuntu4.14.04.3+esm3=1.4.22-1ubuntu4.14.04.3+esm4
Ubuntu:Pro:16.04:LTSmore threats →ghsa
unbound
pkg:deb/ubuntu/unbound?arch=source&distro=esm-infra-legacy/xenial
Affected versions
=1.4.22-1ubuntu6=1.5.7-1ubuntu1=1.5.7-1ubuntu2=1.5.8-1ubuntu1=1.5.8-1ubuntu1.1=1.5.8-1ubuntu1.1+esm1=1.5.8-1ubuntu1.1+esm2=1.5.8-1ubuntu1.1+esm3=1.5.8-1ubuntu1.1+esm4
Ubuntu:Pro:18.04:LTSmore threats →ghsa
unbound
pkg:deb/ubuntu/unbound?arch=source&distro=esm-infra/bionic
Affected versions
=1.6.5-1=1.6.7-1=1.6.7-1build1=1.6.7-1ubuntu1=1.6.7-1ubuntu2=1.6.7-1ubuntu2.1=1.6.7-1ubuntu2.2=1.6.7-1ubuntu2.3=1.6.7-1ubuntu2.4=1.6.7-1ubuntu2.5=1.6.7-1ubuntu2.6=1.6.7-1ubuntu2.6+esm2=1.6.7-1ubuntu2.6+esm3=1.6.7-1ubuntu2.6+esm4=1.6.7-1ubuntu2.6+esm5
Ubuntu:Pro:20.04:LTSmore threats →ghsa
unbound
pkg:deb/ubuntu/unbound?arch=source&distro=esm-infra/focal
Affected versions
=1.9.0-2ubuntu1=1.9.0-2ubuntu2=1.9.4-2=1.9.4-2ubuntu1=1.9.4-2ubuntu1.1=1.9.4-2ubuntu1.2=1.9.4-2ubuntu1.3=1.9.4-2ubuntu1.4=1.9.4-2ubuntu1.5=1.9.4-2ubuntu1.6=1.9.4-2ubuntu1.8=1.9.4-2ubuntu1.9=1.9.4-2ubuntu1.11=1.9.4-2ubuntu1.11+esm1=1.9.4-2ubuntu1.11+esm2
Ubuntu:22.04:LTSmore threats →ghsa
unbound
pkg:deb/ubuntu/unbound?arch=source&distro=jammy
Affected versions
=1.13.1-1ubuntu1=1.13.1-1ubuntu3=1.13.1-1ubuntu5=1.13.1-1ubuntu5.1=1.13.1-1ubuntu5.2=1.13.1-1ubuntu5.3=1.13.1-1ubuntu5.4=1.13.1-1ubuntu5.5=1.13.1-1ubuntu5.7=1.13.1-1ubuntu5.8=1.13.1-1ubuntu5.10=1.13.1-1ubuntu5.11=1.13.1-1ubuntu5.12=1.13.1-1ubuntu5.13=1.13.1-1ubuntu5.14=1.13.1-1ubuntu5.15=1.13.1-1ubuntu5.16
Ubuntu:24.04:LTSmore threats →ghsa
unbound
pkg:deb/ubuntu/unbound?arch=source&distro=noble
Affected versions
=1.17.1-2=1.18.0-2ubuntu1=1.18.0-2ubuntu2=1.19.1-1ubuntu1=1.19.2-1ubuntu1=1.19.2-1ubuntu3=1.19.2-1ubuntu3.1=1.19.2-1ubuntu3.2=1.19.2-1ubuntu3.3=1.19.2-1ubuntu3.4=1.19.2-1ubuntu3.5=1.19.2-1ubuntu3.6=1.19.2-1ubuntu3.7=1.19.2-1ubuntu3.8=1.19.2-1ubuntu3.9=1.19.2-1ubuntu3.10
Ubuntu:26.10more threats →ghsa
unbound
pkg:deb/ubuntu/unbound?arch=source&distro=stonking
Affected versions
=1.24.2-1ubuntu2=1.25.1-1ubuntu1=1.25.1-1ubuntu3
Ubuntu:26.04:LTSmore threats →ghsa
unbound
pkg:deb/ubuntu/unbound?arch=source&distro=resolute
Affected versions
=1.22.0-2ubuntu2=1.22.0-2ubuntu4=1.24.2-1ubuntu1=1.24.2-1ubuntu2=1.24.2-1ubuntu2.1=1.24.2-1ubuntu2.2=1.24.2-1ubuntu2.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 01:01:48 UTC

Technical Analysis

In NLnet Labs Unbound versions 1.15.0 up to and including 1.25.1, the TLS server name used for DNS-over-TLS forwarded queries is tied to the lifetime of a 'serviced_query' struct but also referenced by a 'waiting_tcp' struct. If the 'serviced_query' struct is removed while the DoT TCP stream is still handshaking, the storage for the TLS server name string is freed. If the TLS stream then encounters an error, it dereferences this freed pointer in a read-only manner, causing the Unbound daemon to crash. This results in a denial of service. Exploitation requires a DoT forwarding or stub configuration with an '#authname' suffix and transient connection failures timed to trigger the vulnerable error path.

Potential Impact

The vulnerability causes a denial of service by crashing the Unbound DNS daemon when the use-after-free condition is triggered. There is no impact on confidentiality or integrity. Exploitation requires knowledge of the target's DoT forwarding/stub configuration and precise timing of connection failures.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, mitigate by avoiding configurations that combine DoT forwarding/stub zones with '#authname' suffixes, or by ensuring stable connectivity to prevent transient failures during DoT TCP handshakes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-50046
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad3f6142cdf04f656664158

Added to database: 10/17/2026, 22:26:28 UTC

Last enriched: 10/18/2026, 01:01:48 UTC

Last updated: 10/18/2026, 01:01:48 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses