VDB

CVE-2026-29013

CVE-2026-29013 PUBLISHED CVSS 8.8 HIGH

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

Reported by vulncheck · Published April 17, 2026

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.

Risk scores

CVSS 4.0
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

Affected products

VendorProductVersions
libcoaplibcoap0
libcoaplibcoap0

Timeline

  • Apr 17, 2026 CVE Published
  • Apr 17, 2026 CVE Updated
  • Apr 17, 2026 PoC Published
  • Apr 20, 2026 Security Advisory
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Jul 7, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-29013
vulnetix vdb fixes CVE-2026-29013

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-29013/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›