medium6.9
CVE-2026-130387
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 …
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of outages.
Affected products · Contiki-NG
| Product | Affected versions |
|---|---|
| Contiki-NG | through 5.2 Version 0 ≤5.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/contiki-ng/contiki-ng/pull/3303
- https://github.com/contiki-ng/contiki-ng/blob/4ccd1a3b9e767f168d12ec3df187fe6b7dc736b5/os/net/app-layer/coap/coap-observe.c#L143-L160
- https://www.vulncheck.com/advisories/contiki-ng-through-5.2-out-of-bounds-read-via-coap-observe-uri-matching
- https://github.com/advisories/GHSA-63r4-63j9-x6w9
- https://nvd.nist.gov/vuln/detail/CVE-2026-130387