Vulnerabilidades / CVE-2026-29013

crítica

CVE-2026-29013

libcoap contains out-of-bounds read vulnerabilities in OSCORE Appendix ...

Publicada Modificada CWE 125
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD.

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
debian 12libcoap3sin corrección indicada
debian 13libcoap34.3.4-1.1+deb13u3
debian 14libcoap34.3.5-3
echolibcoap34.3.4-1.1+deb13u3
rapidfort alpine 3.20libcoap4.3.5-r0
rapidfort alpine 3.21libcoap4.3.5a-r0
rapidfort alpine 3.22libcoap4.3.5a-r0
rapidfort alpine 3.23libcoap4.3.5a-r0
rapidfort alpine 3.24libcoap4.3.5a-r0
rapidfort debian 12libcoap30:4.3.4-1.1+deb13u3, 0:4.3.5-3
rapidfort debian 13libcoap30:4.3.4-1.1+deb13u3, 0:4.3.5-3
rapidfort fedora 43libcoap, libcoap-devel, libcoap-doc y 1 más4.3.5b-1.fc43
Mostrar las 15 entradas de 12 fuentes
FuentePaqueteCorregido en
debian 12libcoap3sin corrección indicada
debian 13libcoap34.3.4-1.1+deb13u3
debian 14libcoap34.3.5-3
echolibcoap34.3.4-1.1+deb13u3
rapidfort alpine 3.20libcoap4.3.5-r0
rapidfort alpine 3.21libcoap4.3.5a-r0
rapidfort alpine 3.22libcoap4.3.5a-r0
rapidfort alpine 3.23libcoap4.3.5a-r0
rapidfort alpine 3.24libcoap4.3.5a-r0
rapidfort debian 12libcoap30:4.3.4-1.1+deb13u3, 0:4.3.5-3
rapidfort debian 13libcoap30:4.3.4-1.1+deb13u3, 0:4.3.5-3
rapidfort fedora 43libcoap4.3.5b-1.fc43
rapidfort fedora 43libcoap-devel4.3.5b-1.fc43
rapidfort fedora 43libcoap-doc4.3.5b-1.fc43
rapidfort fedora 43libcoap-utils4.3.5b-1.fc43

Referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.