DEBIAN-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 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.
DEBIAN-CVE-2026-29013
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-29013
libcoap3
Source reference: /affected/0/package/name
- Affected versions
- 4.3.1-1
Source reference:
/affected/0/versions4.3.1-2Source reference:
/affected/0/versions4.3.3-1Source reference:
/affected/0/versions4.3.4-1Source reference:
/affected/0/versions4.3.4-1.1Source reference:
/affected/0/versions4.3.4-1.1~exp1Source reference:
/affected/0/versions4.3.5-1Source reference:
/affected/0/versions4.3.5-2Source reference:
/affected/0/versions4.3.5-3Source reference:
/affected/0/versions4.3.5-4Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libcoap3
Source reference: /affected/1/package/name
- Affected versions
- 4.3.4-1.1
Source reference:
/affected/1/versions4.3.4-1.1+deb13u1Source reference:
/affected/1/versions4.3.4-1.1+deb13u2Source reference:
/affected/1/versions - Fixed versions
- 4.3.4-1.1+deb13u3
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
libcoap3
Source reference: /affected/2/package/name
- Affected versions
- 4.3.4-1.1
Source reference:
/affected/2/versions4.3.5-1Source reference:
/affected/2/versions4.3.5-2Source reference:
/affected/2/versions - Fixed versions
- 4.3.5-3
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libcoap3",
"purl": "pkg:deb/debian/libcoap3?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"4.3.1-1",
"4.3.1-2",
"4.3.3-1",
"4.3.4-1",
"4.3.4-1.1",
"4.3.4-1.1~exp1",
"4.3.5-1",
"4.3.5-2",
"4.3.5-3",
"4.3.5-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-29013.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.3.4-1.1+deb13u3"
}
]
}
],
"package": {
"name": "libcoap3",
"purl": "pkg:deb/debian/libcoap3?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"4.3.4-1.1",
"4.3.4-1.1+deb13u1",
"4.3.4-1.1+deb13u2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-29013.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.3.5-3"
}
]
}
],
"package": {
"name": "libcoap3",
"purl": "pkg:deb/debian/libcoap3?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"4.3.4-1.1",
"4.3.5-1",
"4.3.5-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-29013.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56727 · Revision 1
- Added to Heist Feed
- Publisher date