{"id":"CVE-2026-5855","aliases":["CVE-2026-5855"],"related":[],"kind":"vulnerability","state":"published","title":"Contiki-NG LwM2M TLV Parser Out-of-Bounds Read via Unchecked Buffer Length in lwm2m_tlv_read","summary":"Contiki-NG's LwM2M TLV parser lwm2m_tlv_read() in os/services/lwm2m/lwm2m-tlv.c ignores its caller-supplied buffer length argument and reads up to six bytes from the input buffer with no bounds check. The caller in lwm2m-engine.c iterates while there is at least one byte remaining, so a crafted CoAP WRITE to any LwM2M endpoint whose final TLV supplies exactly one byte triggers up to five out-of-bounds reads of heap memory adjacent to the CoAP input buffer, disclosing memory contents (including key material and peer addresses) through the parsed tlv->id, tlv->length, and tlv->value fields. Corrupted tlv_len derived from the out-of-bounds memory further corrupts the caller's parse offset. In LwM2M NoSec mode, the default for constrained devices, no authentication is required.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Contiki-NG's LwM2M TLV parser lwm2m_tlv_read() in os/services/lwm2m/lwm2m-tlv.c ignores its caller-supplied buffer length argument and reads up to six bytes from the input buffer with no bounds check. The caller in lwm2m-engine.c iterates while there is at least one byte remaining, so a crafted CoAP WRITE to any LwM2M endpoint whose final TLV supplies exactly one byte triggers up to five out-of-bounds reads of heap memory adjacent to the CoAP input buffer, disclosing memory contents (including key material and peer addresses) through the parsed tlv->id, tlv->length, and tlv->value fields. Corrupted tlv_len derived from the out-of-bounds memory further corrupts the caller's parse offset. In LwM2M NoSec mode, the default for constrained devices, no authentication is required.","source":"cvelist"}],"published":"2026-08-06T18:39:06.869Z","modified":"2026-11-08T14:07:08.537Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"f1673b5766d4d4d514cefb8a0350f43653574997","status":"affected"}],"vendor":"Contiki-NG","product":"Contiki-NG","source":"cvelist"}],"references":[{"url":"https://github.com/contiki-ng/contiki-ng","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/3165","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/contiki-ng/contiki-ng/commit/f1673b5766d4d4d514cefb8a0350f43653574997","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Kazuma Matsumoto, a security researcher at GMO Cybersecurity by IERAE, Inc."],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-07T16:19:49.994Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5855","url":"https://www.cve.org/CVERecord?id=CVE-2026-5855","licence":"CVE Terms of Use","modified":"2026-11-08T14:07:08.537Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5855","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5855","licence":"Public domain","modified":"2026-09-16T20:21:01.047Z"}],"updatedAt":"2026-11-25T22:59:31.386Z","epss":{"score":0.00537,"percentile":0.46695,"date":"2026-12-01T12:00:22.000Z"}}