Out-of-Bounds Read Vulnerability in Contiki-NG's DNS/mDNS Resolver
CVE-2026-5856

7.1HIGH

Key Information:

Vendor

Contiki-ng

Vendor
CVE Published:
6 August 2026

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

Score:
7.1
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
Low
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Kazuma Matsumoto, a security researcher at GMO Cybersecurity by IERAE, Inc.
.