Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

CVSS 5.9 · Medium EPSS 0.37% · P29

Affected Version Matrix 1

VendorProductVersion RangeStatus
NLnet LabsUnbound1.15.0< 1.25.2affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-50046

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Possible heap use-after-free in an error path when a DoT forwarded query is jostled out
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5
Vulnerability Title
NLnet Labs Unbound 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
NLnet Labs Unbound是荷兰NLnet Labs组织的域名系统解析服务器。 NLnet Labs Unbound 1.15.0版本至1.25.1版本存在资源管理错误漏洞,该漏洞源于释放后重用,当拥有结构中TCP流仍在握手时被移出网格,释放了引用字符串后的存储,从而读取释放后指针,导致守护进程崩溃,造成拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
NLnet LabsUnbound 1.15.0 ~ 1.25.2 -

II. Public POCs for CVE-2026-50046

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-50046

登录查看更多情报信息。

Vendor Advisories for CVE-2026-50046 (1)

Same Patch Batch · NLnet Labs · 2026-07-22 · 24 CVEs total

CVE-2026-559737.5 HIGH'dns-error-reporting: yes' leads to stack buffer overflow
CVE-2026-326657.5 HIGHRemote DNS-over-QUIC denial of service due to `quic-size` budget bypass
CVE-2026-406917.5 HIGHPacket of death for DNSCrypt over TCP
CVE-2026-446907.5 HIGHCross-zone wildcard cache poisoning via RRSIG.labels manipulation
CVE-2026-502486.5 MEDIUMBOGUS configured primary hostname accepted for XFR in auth/rpz zones
CVE-2026-528635.9 MEDIUMMemory corruption could lead to crash and denial of service
CVE-2026-557175.9 MEDIUM'serve-expired-client-timeout' and 'response-ip' CNAME redirect could lead to a crash
CVE-2026-559915.9 MEDIUMRemote DNS-over-QUIC (DoQ) flow-control assertion failure in libngtcp2
CVE-2026-559905.9 MEDIUMPacket of death for a DNSCrypt misconfigured Unbound
CVE-2026-564445.9 MEDIUMDegradation of resolution service when 'discard-timeout' and 'serve-expired-client-timeout
CVE-2026-446215.9 MEDIUMLibunbound applications configured with 'unwanted-reply-threshold' could eventually be abr
CVE-2026-145865.9 MEDIUMAssertion in libngtcp2 when under pressure in high concurrency DNS-over-QUIC environments
CVE-2026-502515.3 MEDIUMAttacker supplied '0.0.0.0'/'::' glue triggers defensive full-cache flush
CVE-2026-500455.3 MEDIUM'max-global-quota' reset by DNSSEC validation restarts
CVE-2026-564164.8 MEDIUMPossible heap buffer overflow when validator canonicalizes RDATA that contains domain name
CVE-2026-465823.7 LOWA wildcard replay, as another piece of data, triggers poisoning in the serve expired reply
CVE-2026-446873.7 LOWOff-by-one error in 'harden-below-nxdomain' logic can shadow a stub/forward zone by a legi
CVE-2026-416373.7 LOWDegradation of resolution service from improperly accounted client-terminated DNS-over-QUI
CVE-2026-544783.7 LOWDNS Cookie bypass when combined with proxy-protocol use
CVE-2026-429553.7 LOWExtra fix for CVE-2026-40622 to also clamp the TTL of A/AAAA records disallowing a one-tim

Showing top 20 of 24 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-50046

No comments yet


Leave a comment