Disclosure or crash via unchecked DNS name traversal
Published Aug 6, 2026 · Updated Aug 6, 2026
Out-of-bounds read in the Contiki-NG DNS/mDNS resolver allows attackers to disclose memory or crash the resolver. In newdata(), the attacker-controlled nquestions count repeatedly passes DNS names to skip_name(), which traverses label lengths without checking the UDP packet boundary and returns an out-of-range pointer that is read as a dns_answer structure. Unauthenticated local-segment peers can reach mDNS builds on UDP 5353 without an outstanding query; standard DNS builds require injection from UDP port 53 during an outstanding query.
Summary
What happened
Out-of-bounds read in the Contiki-NG DNS/mDNS resolver allows attackers to disclose memory or crash the resolver. In newdata(), the attacker-controlled nquestions count repeatedly passes DNS names to skip_name(), which traverses label lengths without checking the UDP packet boundary and returns an out-of-range pointer that is read as a dns_answer structure. Unauthenticated local-segment peers can reach mDNS builds on UDP 5353 without an outstanding query; standard DNS builds require injection from UDP port 53 during an outstanding query.
The record
- CVE
- CVE-2026-5856
- Published
- Aug 6, 2026
- Updated
- Aug 6, 2026
- Vendor
- Contiki-NG
- Product
- Contiki-NG
- Classifications
- CWE-125, T1499.004
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 6, 2026CVE publishedPublication date reported by the CVE source.
- Aug 6, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <04a3f0a0067d2ee87d1f297b6d0f4392d8c98ffe
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo