PoC Monitor
← All CVEs
CVE-2025-34468published 31 Dec 2025 18:39 UTCData: JSON · API

Libcoap

libcoap Stack-Based Buffer Overflow in Address Resolution DoS or Potential RCE

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).

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by NVD · CWE-121
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

libcoap libcoap
  • <= 4.3.5

Fixed in 30db3eaa1f0464722ebea2ca2d5084aebfbd344d

Mitigation

Upgrade libcoap to 30db3eaa1f0464722ebea2ca2d5084aebfbd344d or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published31 Dec 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.