#VU121175 Stack-based buffer overflow in libcoap - CVE-2025-34468

 

#VU121175 Stack-based buffer overflow in libcoap - CVE-2025-34468

Published: January 12, 2026


Vulnerability identifier: #VU121175
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-34468
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
libcoap
Software vendor:
libcoap.net

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the coap_resolve_address_info() function in src/coap_address.c when proxy logic is enabled. A remote attacker can pass an overly long hostname to the application, trigger a stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install updates from vendor's website.

External links