MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-29013

libcoap Out-of-Bounds Read in OSCORE CBOR Unwrap Handling

Not on CISA KEV
  • Overview

Summary

libcoap contains out-of-bounds read vulnerabilities in OSCORE Appendix B.2 CBOR unwrap handling where get_byte_inc() in src/oscore/oscore_cbor.c relies solely on assert() for bounds checking, which is removed in release builds compiled with NDEBUG. Attackers can send crafted CoAP requests with

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • PoC-in-GitHub Source: PoC-in-GitHub