CVE-2025-34468
Critical · CVSS 9.8libcoap — Stack-based buffer overflow in address resolution (CWE-121, CWE-787)
- CVSS
- 9.8
- nvd
- EPSS
- —
- KEV
- No
- Class
- oss containerizable
- CWE-121, CWE-787
Description
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).
Search profile — drives PoC discovery
Symbols coap_resolve_addressproxy request handlinghostnamefixed 256-byte stack buffer30db3eacoap_proxygetaddrinfocoap_address_t
Keywords CVE-2025-34468libcoapstack buffer overflowaddress resolutionproxyhostnamelibcoap 4.3.5RCECoAP proxyobgm/libcoap
Versions: <= 4.3.5, prior to commit 30db3ea
References
Status: enriched · ingested 2026-07-15T00:00:20.000Z · profiled 2026-07-15T00:30:20.000Z