CVE-2025-34468

HIGH CVSS 4.0: 8.2 EPSS 0.75%
Updated Sep 23, 2026
Libcoap
Parameter Value
CVSS 8.2 (HIGH)
Affected Versions before 4.3.5
Type CWE-121 (Stack-based Buffer Overflow), CWE-787 (Out-of-bounds Write)
Vendor Libcoap
Public PoC No

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

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Libcoap Libcoap
cpe:2.3:a:libcoap:libcoap:*:*:*:*:*:*:*:*
— <= 4.3.5