CVE-2026-29013 | libcoap up to 4.3.5a CBOR Parser src/oscore/oscore_cbor.c get_byte_inc out-of-bounds
VulDBArchived Apr 18, 2026✓ Full text saved
A vulnerability categorized as problematic has been discovered in libcoap up to 4.3.5a . Affected by this issue is the function get_byte_inc of the file src/oscore/oscore_cbor.c of the component CBOR Parser . The manipulation results in out-of-bounds read. This vulnerability was named CVE-2026-29013 . The attack may be performed from remote. There is no available exploit. It is advisable to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358129 · CVE-2026-29013 · GCVE-0-2026-29013
LIBCOAP UP TO 4.3.5A CBOR PARSER SRC/OSCORE/OSCORE_CBOR.C GET_BYTE_INC OUT-OF-BOUNDS
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
7.0 $0-$5k 2.79+
Summaryinfo
A vulnerability identified as problematic has been detected in libcoap up to 4.3.5a. This affects the function get_byte_inc of the file src/oscore/oscore_cbor.c of the component CBOR Parser. This manipulation causes out-of-bounds. The identification of this vulnerability is CVE-2026-29013. It is possible to initiate the attack remotely. There is no exploit available. You should upgrade the affected component.
Detailsinfo
A vulnerability classified as critical was found in libcoap up to 4.3.5a. Affected by this vulnerability is the function get_byte_inc of the file src/oscore/oscore_cbor.c of the component CBOR Parser. The manipulation with an unknown input leads to a out-of-bounds vulnerability. The CWE definition for the vulnerability is CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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 heap buffer overflow writes through integer wraparound in allocation size computation.
The weakness was shared by Kazuma Matsumoto as b7847c4dbb0dbee7c90b09a673d4cae256f03718. The advisory is shared at github.com. This vulnerability is known as CVE-2026-29013 since 03/03/2026. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.
Upgrading to version 4.3.5b eliminates this vulnerability.
Productinfo
Name
libcoap
Version
4.3.5a
CPE 2.3info
🔒
CPE 2.2info
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Out-of-bounds
CWE: CWE-125 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: libcoap 4.3.5b
Timelineinfo
03/03/2026 CVE reserved
04/17/2026 +44 days Advisory disclosed
04/17/2026 +0 days VulDB entry created
04/17/2026 +0 days VulDB entry last update
Sourcesinfo
Advisory: b7847c4dbb0dbee7c90b09a673d4cae256f03718
Researcher: Kazuma Matsumoto
Status: Confirmed
CVE: CVE-2026-29013 (🔒)
GCVE (CVE): GCVE-0-2026-29013
GCVE (VulDB): GCVE-100-358129
Entryinfo
Created: 04/17/2026 23:51
Changes: 04/17/2026 23:51 (70)
Complete: 🔍
Cache ID: 99:E2F:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸