Vulnerability

CVE-2026-29013

highCVSS 4.0 8.8Published 17 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 malformed OSCORE options or responses during OSCORE negotiation to trigger out-of-bounds reads during CBOR parsing and potentially cause out-of-bounds reads through integer wraparound in allocation size computation.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Libcoap libcoap

Weakness type

References

  • github.com /obgm/libcoap/commit/b7847c4dbb0dbee7c90b09a673d4cae256f037…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning