CVE-2026-5856
Last modified
CVE-2026-5856 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. Contiki-NG's DNS/mDNS resolver skip_name() 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 skip_name() to walk past the UDP packet buffer, and the returned pointer is cast to struct dns_answer * for further memory reads. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
Contiki-NG's DNS/mDNS resolver skip_name() 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 skip_name() to walk past the UDP packet buffer, and the returned pointer is cast to struct dns_answer * for further memory reads. On builds with RESOLV_CONF_SUPPORTS_MDNS 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 uip_buf and adjacent memory, disclosing memory contents or crashing the resolver.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Contiki-NG | Contiki-NG | < 04a3f0a0067d2ee87d1f297b6d0f4392d8c98ffe |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-5856?
How severe is CVE-2026-5856?
How do I fix CVE-2026-5856?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-58554Permission control vulnerability in the Settings module. Imp…6.6
- CVE-2026-58555Permission bypass vulnerability in the card module. Impact: …6.6
- CVE-2026-58556Permission control vulnerability in the Bluetooth module. Im…5.1
- CVE-2026-58557Design defect vulnerability in Expedition mode. Impact: Succ…4.8
- CVE-2026-58558Permission control vulnerability in the file system. Impact:…7.8
- CVE-2026-58559DoS vulnerability in the vibration service. Impact: Successf…6.5
- CVE-2026-58560Null pointer dereference issue in the image codec module. Im…4
- CVE-2026-58561Null pointer dereference issue in the image codec module. Im…4
- CVE-2026-58562Dell Command Update (DCU), versions prior to 5.7.1, contain …7.3
- CVE-2026-58564Dell Command Update (DCU), versions prior to 5.7.1, contain …7.8
- CVE-2026-58565Dell Command Update (DCU), versions prior to 5.7.1, contain …8.8
- CVE-2026-58566Dell PowerStore, an Incorrect Authorization vulnerability. A…8.8
Are you affected by CVE-2026-5856?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
