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

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibcoap3sid4.3.5-4fixed
Debianlibcoap3forky4.3.5-4fixed
Debianlibcoap3trixie4.3.4-1.1+deb13u3fixed
Debianlibcoap3bookworm4.3.1-1vulnerable
Cpelibcoap3Not reportedNot reportedvulnerable
CpelibcoapNot reported4.3.5bfixed
Opensuselibcoaptumbleweed4.3.5b-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibcoap3sourcesid4.3.5-3not yet assignedNot reported[1134340]
Debianlibcoap3sourceforky4.3.5-3not yet assignedNot reported[1134340]
Debianlibcoap3sourcetrixie4.3.4-1.1+deb13u3not yet assignedNot reported[1134340]
Debianlibcoap3sourcebookworm(unfixed)not yet assignedNot reported[1134340]
CpelibcoapcpeNot reported4.3.5bNot reportedNot reportedNot reported
Opensuselibcoaprpmtumbleweed4.3.5b-1.1Not reportedOPENSUSE-SU-2026:10592-1Not reported

[Debian bug #1134340]

Notes

[bookworm] libcoap3: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libcoap3]Affected
    Details (2)
    • 4.3.1-1 · amd64 · bookworm

      Affected

      nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12

    • 4.3.1-1 · arm64 · bookworm

      Affected

      nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12

  • [libcoap3-bin]Affected

    Source package: [libcoap3]

    Details (2)
    • 4.3.1-1 · amd64 · bookworm

      Affected

      nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12

    • 4.3.1-1 · arm64 · bookworm

      Affected

      nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12

  • [libcoap3-dev]Affected

    Source package: [libcoap3]

    Details (2)
    • 4.3.1-1 · amd64 · bookworm

      Affected

      nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12

    • 4.3.1-1 · arm64 · bookworm

      Affected

      nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12

  • [libcoap3-doc]Affected

    Source package: [libcoap3]

    Details (2)
    • 4.3.1-1 · all · bookworm

      Affected

      nvd · libcoap3 · debian · bookworm; nvd · libcoap3 · debian · 12

    • 4.3.1-1 · all · bookworm

      Affected

      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 · tumbleweed

      Unknown · Fixed: 4.3.5b-1.1

      Version impact unknown

      nvd · libcoap · opensuse · tumbleweed

  • [libcoap-devel]Unknown

    Source package: [libcoap]

    Details (1)
    • 4.3.5b-1.4 · x86_64 · tumbleweed

      Unknown · Fixed: 4.3.5b-1.1

      Version impact unknown

      nvd · libcoap · opensuse · tumbleweed

  • [libcoap-utils]Unknown

    Source package: [libcoap]

    Details (1)
    • 4.3.5b-1.4 · x86_64 · tumbleweed

      Unknown · Fixed: 4.3.5b-1.1

      Version impact unknown

      nvd · libcoap · opensuse · tumbleweed

[Debian 13 (Trixie)]

  • Source package: [libcoap3]

    Details (2)
    • 4.3.4-1.1+deb13u3 · amd64 · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      nvd · libcoap3 · debian · 13

    • 4.3.4-1.1+deb13u3 · arm64 · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      nvd · libcoap3 · debian · 13

  • Source package: [libcoap3]

    Details (2)
    • 4.3.4-1.1+deb13u3 · amd64 · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      nvd · libcoap3 · debian · 13

    • 4.3.4-1.1+deb13u3 · arm64 · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      nvd · libcoap3 · debian · 13

  • Source package: [libcoap3]

    Details (2)
    • 4.3.4-1.1+deb13u3 · all · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      nvd · libcoap3 · debian · 13

    • 4.3.4-1.1+deb13u3 · all · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      nvd · libcoap3 · debian · 13

  • Source package: [libcoap3]

    Details (2)
    • 4.3.4-1.1+deb13u3 · amd64 · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      nvd · libcoap3 · debian · 13

    • 4.3.4-1.1+deb13u3 · arm64 · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      nvd · libcoap3 · debian · 13

Observed:

References