
CVE catalog
CVE-2026-29013
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
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.30% · Oct 25, 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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libcoap3 | sid | 4.3.5-4 | fixed |
| Debian | libcoap3 | forky | 4.3.5-4 | fixed |
| Debian | libcoap3 | trixie | 4.3.4-1.1+deb13u3 | fixed |
| Debian | libcoap3 | bookworm | 4.3.1-1 | vulnerable |
| Cpe | libcoap3 | Not reported | Not reported | vulnerable |
| Cpe | libcoap | Not reported | 4.3.5b | fixed |
| Opensuse | libcoap | tumbleweed | 4.3.5b-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libcoap3 | source | sid | 4.3.5-3 | not yet assigned | Not reported | [1134340] |
| Debian | libcoap3 | source | forky | 4.3.5-3 | not yet assigned | Not reported | [1134340] |
| Debian | libcoap3 | source | trixie | 4.3.4-1.1+deb13u3 | not yet assigned | Not reported | [1134340] |
| Debian | libcoap3 | source | bookworm | (unfixed) | not yet assigned | Not reported | [1134340] |
| Cpe | libcoap | cpe | Not reported | 4.3.5b | Not reported | Not reported | Not reported |
| Opensuse | libcoap | rpm | tumbleweed | 4.3.5b-1.1 | Not reported | OPENSUSE-SU-2026:10592-1 | Not reported |
Notes
[bookworm] libcoap3: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libcoap3]Affected
Details (2)
4.3.1-1· amd64 · bookwormAffected
nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12
4.3.1-1· arm64 · bookwormAffected
nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12
- [libcoap3-bin]Affected
Source package: [libcoap3]
Details (2)
4.3.1-1· amd64 · bookwormAffected
nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12
4.3.1-1· arm64 · bookwormAffected
nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12
- [libcoap3-dev]Affected
Source package: [libcoap3]
Details (2)
4.3.1-1· amd64 · bookwormAffected
nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12
4.3.1-1· arm64 · bookwormAffected
nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12
- [libcoap3-doc]Affected
Source package: [libcoap3]
Details (2)
4.3.1-1· all · bookwormAffected
nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12
4.3.1-1· all · bookwormAffected
nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12
[openSUSE Tumbleweed]
- [libcoap3-3]Unknown
Source package: [libcoap]
Details (1)
4.3.5b-1.4· x86_64 · tumbleweedUnknown · Fixed:
4.3.5b-1.1Version impact unknown
nvd · libcoap · opensuse · tumbleweed
- [libcoap-devel]Unknown
Source package: [libcoap]
Details (1)
4.3.5b-1.4· x86_64 · tumbleweedUnknown · Fixed:
4.3.5b-1.1Version impact unknown
nvd · libcoap · opensuse · tumbleweed
- [libcoap-utils]Unknown
Source package: [libcoap]
Details (1)
4.3.5b-1.4· x86_64 · tumbleweedUnknown · Fixed:
4.3.5b-1.1Version impact unknown
nvd · libcoap · opensuse · tumbleweed
[Debian 13 (Trixie)]
- [libcoap3-bin]Fixed
Source package: [libcoap3]
Details (2)
4.3.4-1.1+deb13u3· amd64 · trixieFixed · Fixed:
4.3.4-1.1+deb13u3nvd · libcoap3 · debian · 13
4.3.4-1.1+deb13u3· arm64 · trixieFixed · Fixed:
4.3.4-1.1+deb13u3nvd · libcoap3 · debian · 13
- [libcoap3-dev]Fixed
Source package: [libcoap3]
Details (2)
4.3.4-1.1+deb13u3· amd64 · trixieFixed · Fixed:
4.3.4-1.1+deb13u3nvd · libcoap3 · debian · 13
4.3.4-1.1+deb13u3· arm64 · trixieFixed · Fixed:
4.3.4-1.1+deb13u3nvd · libcoap3 · debian · 13
- [libcoap3-doc]Fixed
Source package: [libcoap3]
Details (2)
4.3.4-1.1+deb13u3· all · trixieFixed · Fixed:
4.3.4-1.1+deb13u3nvd · libcoap3 · debian · 13
4.3.4-1.1+deb13u3· all · trixieFixed · Fixed:
4.3.4-1.1+deb13u3nvd · libcoap3 · debian · 13
- [libcoap3t64]Fixed
Source package: [libcoap3]
Details (2)
4.3.4-1.1+deb13u3· amd64 · trixieFixed · Fixed:
4.3.4-1.1+deb13u3nvd · libcoap3 · debian · 13
4.3.4-1.1+deb13u3· arm64 · trixieFixed · Fixed:
4.3.4-1.1+deb13u3nvd · libcoap3 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10592-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-29013]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-29013]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10592-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-29013]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29013.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]