CVE-2026-29013
published high CVSS 4.0 · 8.8libcoap Out-of-Bounds Read in OSCORE CBOR Unwrap Handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libcoap | — | libcoap0 to < v4.3.5b · Other versions: unknown | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap-develaarch64 | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap-develppc64le | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap-devels390x | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap-develx86_64 | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap-utilsaarch64 | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap-utilsppc64le | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap-utilss390x | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap-utilsx86_64 | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap3-3aarch64 | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap3-3ppc64le | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap3-3s390x | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcoap3-3x86_64 | Advisory build | 4.3.5b-1.1 | OPENSUSE-SU-2026:10592-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libcoap | libcoap | 0 to < v4.3.5b (affected · custom)Default: unknown | VulnCheck · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
1Provider assertions
2VulnCheck · cna
libcoap Out-of-Bounds Read in OSCORE CBOR Unwrap Handling
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b0b386297a338f2e21ac90fab1859da6af268bc75b5c71488b0388e24793f1f9
- Ingested
- 23 Sep 2026, 09:08:32 UTC
- Source record
- Official CVE record