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
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
- Received
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-5857Contiki-NG's MQTT client parse_publish_vhdr() in os/net/app-…9.2
- CVE-2026-58578LobeChat before version 2.2.10-canary.15 contains a regular …7.1
- CVE-2026-58579RAGFlow before 0.26.3 stores an agent pipeline (DSL) node na…5.4
- CVE-2026-5858Heap buffer overflow in WebML in Google Chrome prior to 147.…8.8
- CVE-2026-58580LobeChat through 2.2.9 server-database deployments are vulne…6
- CVE-2026-58583FluxInk (formerly Sunia SPB Peripheral) Color Management Dri…8.4
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
