Contiki-NG through 5.2 Out-of-Bounds Read via CoAP Observe URI Matching
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 17, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 17, 2026
Description
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.
| Product | Versions |
|---|---|
| Contiki-NG Contiki-NG | 5.2 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
References
- https://github.com/contiki-ng/contiki-ng/pull/3303Issue TrackerPatch
- https://github.com/contiki-ng/contiki-ng/blob/4ccd1a3b9e767f168d12ec3df187fe6b7dc736b5/os/net/app-layer/coap/coap-observe.c#L143-L160Technical Details
- VulnCheck Advisory: Contiki-NG through 5.2 Out-of-Bounds Read via CoAP Observe URI MatchingThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.