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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-56416— Possible heap buffer overflow when validator canonicalizes RDATA that contains domain name

CVSS 4.8 · Medium

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-56416

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 buffer overflow when validator canonicalizes RDATA that contains domain name
Source: NVD (National Vulnerability Database)
Vulnerability Description
In NLnet Labs Unbound up to and including version 1.25.1, when the validator builds the canonical RDATA form for an RRSIG-covered PX/RP/MINFO/SOA RRset, it computes the address of the second embedded domain name as 'datstart + dname_valid(datstart, ...)' and passes it straight to 'query_dname_tolower()' without checking that a second name is actually present in the RDATA. The wire-format parser accepts multi-dname RRs whose RDATA ends after the first name, so an attacker who runs a DNSSEC-signed authoritative server can deliver a record with an absent second domain name (e.g. SOA record) and cause 'query_dname_tolower()' to walk label-by-label through stale bytes in the per-worker 'env->scratch_buffer', past the end of that heap allocation if 'msg-buffer-size' has been lowered from the default. This leads to heap buffer overflow and on a release build the outcome relies heavily on the contents of the buffer tail and the adjacent heap chunk.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Source: NVD (National Vulnerability Database)
Vulnerability Type
完整性检查值验证不恰当
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
NLnet LabsUnbound 0 ~ 1.25.2 -

II. Public POCs for CVE-2026-56416

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-56416

登录查看更多情报信息。

Vendor Advisories for CVE-2026-56416 (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-446907.5 HIGHCross-zone wildcard cache poisoning via RRSIG.labels manipulation
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-502486.5 MEDIUMBOGUS configured primary hostname accepted for XFR in auth/rpz zones
CVE-2026-500465.9 MEDIUMPossible heap use-after-free in an error path when a DoT forwarded query is jostled out
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-446215.9 MEDIUMLibunbound applications configured with 'unwanted-reply-threshold' could eventually be abr
CVE-2026-528635.9 MEDIUMMemory corruption could lead to crash and denial of service
CVE-2026-564445.9 MEDIUMDegradation of resolution service when 'discard-timeout' and 'serve-expired-client-timeout
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-429553.7 LOWExtra fix for CVE-2026-40622 to also clamp the TTL of A/AAAA records disallowing a one-tim
CVE-2026-544783.7 LOWDNS Cookie bypass when combined with proxy-protocol use
CVE-2026-446873.7 LOWOff-by-one error in 'harden-below-nxdomain' logic can shadow a stub/forward zone by a legi
CVE-2026-465823.7 LOWA wildcard replay, as another piece of data, triggers poisoning in the serve expired reply
CVE-2026-416373.7 LOWDegradation of resolution service from improperly accounted client-terminated DNS-over-QUI

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-56416

No comments yet


Leave a comment