Out-of-Bounds Read Vulnerability in Contiki-NG's DNS/mDNS Resolver
CVE-2026-5856
What is CVE-2026-5856?
The DNS/mDNS resolver in Contiki-NG is susceptible to an out-of-bounds read vulnerability due to improper handling of DNS wire-format name labels in the skip_name() function. This function does not enforce packet-boundary checks, allowing an attacker to manipulate the nquestions value in the DNS header. When nquestions exceeds the count of complete questions, the resolver may access memory beyond its allocated buffer, resulting in potential data leak or system instability. Specifically, any peer on the local network can exploit this by sending a multicast packet through UDP port 5353, or an attacker could also exploit it via a crafted UDP response during an active query on standard DNS setups. The implications include unauthorized access to sensitive memory content or crashes of the DNS resolver.
Affected Version(s)
Contiki-NG 0
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
