CVE-2025-34468

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

Configuration 1 (hide)

cpe:2.3:a:libcoap:libcoap:*:*:*:*:*:*:*:*

History

No history.

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
CWE
CWE-121

Stack-based Buffer Overflow

CWE-787

Out-of-bounds Write