Security mailing lists by PureSourceCode

CVE-2026-29013

HIGH 8.8CVSS 4.0

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.

Published
17 Apr 2026
Last modified
17 Jun 2026
Assigned by
disclosure@vulncheck.com
NVD status
Analyzed
Weakness
CWE-125
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 HIGH 8.8 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD libcoap libcoap
cpe:2.3:a:libcoap:libcoap:*:*:*:*:*:*:*:*
< 4.3.5b 4.3.5b

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 17 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.