Buffer Overflow Vulnerability in Contiki-NG's LwM2M TLV Parser
CVE-2026-5855

8.7HIGH

Key Information:

Vendor

Contiki-ng

Vendor
CVE Published:
6 August 2026

What is CVE-2026-5855?

The LwM2M TLV parser in Contiki-NG is susceptible to an out-of-bounds read vulnerability due to improper handling of the buffer length argument. The function lwm2m_tlv_read() can read up to six bytes from the input buffer without appropriate bounds checking. This flaw allows an attacker to craft a CoAP WRITE request to exploit these bounds, resulting in multiple unauthorized reads from adjacent heap memory. As a consequence, sensitive data, including key materials and peer addresses, can be disclosed through the parsed fields of the TLV structure. Additionally, corrupted lengths can lead to further inconsistencies in data parsing and handling. This vulnerability is particularly severe in NoSec mode, which is the default for many constrained devices, as it does not enforce any authentication measures.

Affected Version(s)

Contiki-NG 0

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
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.
.