Contiki-NG's DNS/mDNS resolver skipname() in os/services/resolv/resolv.c walks DNS wire-format name labels with no packet-boundary check,…
CVE-2026-5856
Contiki-NG's DNS/mDNS resolver skipname() in os/services/resolv/resolv.c walks DNS wire-format name labels with no packet-boundary check, and the caller in newdata() invokes it in a loop iterating nquestions times from the attacker-controlled DNS header before validating the transaction ID. An attacker who sets nquestions higher than the number of complete questions present causes skipname() to walk past the UDP packet buffer, and the returned pointer is cast to struct dnsanswer for further memory reads. On builds with RESOLVCONFSUPPORTSMDNS enabled, any peer on the local segment can trigger the read unauthenticated via a multicast UDP 5353 packet with no outstanding query required; on standard DNS builds an attacker who can inject a UDP response from port 53 during an outstanding query can trigger the same read. Impact is out-of-bounds read of uipbuf and adjacent memory, disclosing memory contents or crashing the resolver.
Assessment
- CVSS
- 7.1 (v4.0)
- Severity
- High
- EPSS
- 0.29% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 6 August 2026
- Last updated
- 8 November 2026
- Affected
- contiki-ng · contiki-ng
- Assigner
- VulnCheck
CVSS vectorCVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
At the source
References
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-5856