CVE catalog

CVE-2025-34468

libcoap3: CVE-2025-34468

[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.75% · Oct 25, 2026

libcoap versions up to and including 4.3.5, prior to commit 30db3ea, contain a stack-based buffer overflow in address resolution when attacker-controlled hostname data is copied into a fixed 256-byte stack buffer without proper bounds checking. A remote attacker can trigger a crash and potentially achieve remote code execution depending on compiler options and runtime memory protections. Exploitation requires the proxy logic to be enabled (i.e., the proxy request handling code path in an application using libcoap).

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
CpelibcoapNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibcoap3sourcesid4.3.5-3not yet assignedNot reported[1124407]
Debianlibcoap3sourceforky4.3.5-3not yet assignedNot reported[1124407]
Debianlibcoap3sourcetrixie4.3.4-1.1+deb13u3not yet assignedNot reported[1124407]
Debianlibcoap3sourcebookworm(unfixed)not yet assignedNot reported[1124407]

[Debian bug #1124407]

Notes

[bookworm] libcoap3: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Affected

      dsa · libcoap3 · debian · bookworm; dsa · libcoap3 · debian · 12

    • 4.3.1-1 · arm64 · bookworm

      Affected

      dsa · libcoap3 · debian · bookworm; dsa · libcoap3 · debian · 12

  • [libcoap3-bin]Affected

    Source package: [libcoap3]

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

      Affected

      dsa · libcoap3 · debian · bookworm; dsa · libcoap3 · debian · 12

    • 4.3.1-1 · arm64 · bookworm

      Affected

      dsa · libcoap3 · debian · bookworm; dsa · libcoap3 · debian · 12

  • [libcoap3-dev]Affected

    Source package: [libcoap3]

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

      Affected

      dsa · libcoap3 · debian · bookworm; dsa · libcoap3 · debian · 12

    • 4.3.1-1 · arm64 · bookworm

      Affected

      dsa · libcoap3 · debian · bookworm; dsa · libcoap3 · debian · 12

  • [libcoap3-doc]Affected

    Source package: [libcoap3]

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

      Affected

      dsa · libcoap3 · debian · bookworm; dsa · libcoap3 · debian · 12

    • 4.3.1-1 · all · bookworm

      Affected

      dsa · libcoap3 · debian · bookworm; dsa · libcoap3 · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libcoap3]

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

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      dsa · libcoap3 · debian · 13

    • 4.3.4-1.1+deb13u3 · arm64 · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      dsa · libcoap3 · debian · 13

  • Source package: [libcoap3]

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

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      dsa · libcoap3 · debian · 13

    • 4.3.4-1.1+deb13u3 · arm64 · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      dsa · libcoap3 · debian · 13

  • Source package: [libcoap3]

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

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      dsa · libcoap3 · debian · 13

    • 4.3.4-1.1+deb13u3 · all · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      dsa · libcoap3 · debian · 13

  • Source package: [libcoap3]

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

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      dsa · libcoap3 · debian · 13

    • 4.3.4-1.1+deb13u3 · arm64 · trixie

      Fixed · Fixed: 4.3.4-1.1+deb13u3

      dsa · libcoap3 · debian · 13

Observed:

References