{"id":"CVE-2026-130387","summary":"Contiki-NG through 5.2 Out-of-Bounds Read via CoAP Observe URI Matching","details":"Contiki-NG through 5.2 contains an out-of-bounds read vulnerability in coap_remove_observer_by_uri() that allows unauthenticated remote attackers to read past the supplied URI buffer. Attackers can send a CoAP GET Observe request with a Uri-Path shorter than an existing observer's URL, causing memcmp with strlen to read beyond the non-NUL-terminated buffer.","modified":"2026-11-17T15:45:49.737346333Z","published":"2026-11-17T13:52:18.361Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130387.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130387.json"},{"type":"PACKAGE","url":"https://github.com/contiki-ng/contiki-ng"},{"type":"ARTICLE","url":"https://github.com/contiki-ng/contiki-ng/blob/4ccd1a3b9e767f168d12ec3df187fe6b7dc736b5/os/net/app-layer/coap/coap-observe.c#L143-L160"},{"type":"FIX","url":"https://github.com/contiki-ng/contiki-ng/pull/3303"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130387"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/contiki-ng-through-5.2-out-of-bounds-read-via-coap-observe-uri-matching"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/contiki-ng/contiki-ng","events":[{"introduced":"0"},{"last_affected":"4ccd1a3b9e767f168d12ec3df187fe6b7dc736b5"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"5.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["release/v5.2","release/v5.1","release/v5.0","release/v4.9","release/v4.8","release/v4.7","release/v4.6","release/v4.5","release/v4.4","release/v4.3","release/v4.2","release/v4.1","release/v4.0","develop/v4.0","fork","develop/v3.x-fork","old/v2.6","2.6-rc0","2.6","2.5-release","old/v2.4","2.4","old/v2.3","2.3","old/v2.2.3","2.2.3","old/v2.2.2","2.2.2","old/v2.2.1","2.2.1","old/v2.2","2.2","old/v2.1","2.1","old/v2.0","2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130387.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}