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).
References
| Link | Resource |
|---|---|
| https://github.com/obgm/libcoap/commit/30db3ea | Patch |
| https://github.com/obgm/libcoap/pull/1737 | Issue Tracking |
| https://libcoap.net/ | Product |
| https://www.vulncheck.com/advisories/libcoap-stack-based-buffer-overflow-in-address-resolution-dos-or-potential-rce | Third Party Advisory |
Configurations
History
14 Jan 2026, 20:18
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-787 | |
| CPE | cpe:2.3:a:libcoap:libcoap:*:*:*:*:*:*:*:* | |
| First Time |
Libcoap
Libcoap libcoap |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
| References | () https://github.com/obgm/libcoap/commit/30db3ea - Patch | |
| References | () https://github.com/obgm/libcoap/pull/1737 - Issue Tracking | |
| References | () https://libcoap.net/ - Product | |
| References | () https://www.vulncheck.com/advisories/libcoap-stack-based-buffer-overflow-in-address-resolution-dos-or-potential-rce - Third Party Advisory |
31 Dec 2025, 19:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-12-31 19:15
Updated : 2026-01-14 20:18
NVD link : CVE-2025-34468
Mitre link : CVE-2025-34468
CVE.ORG link : CVE-2025-34468
JSON object : View
Products Affected
libcoap
- libcoap
