CVE-2025-34468: Vulnerability in Libcoap

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

CWE-121, CWE-787

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
0.8 % in 30 days
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-rj9f-6c28-qf6x
EU ID
EUVD-2025-206064
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-121, CWE-787
Published
31 Dec 2025
Last change
8 Nov 2026
Likelihood rank
Higher than 58 % of all rated vulnerabilities
Analysis status
Analyzed

Affected products

Affected versions and the first fixed release

  • Libcoap Through 4.3.5; Version 0 ≤4.3.5. No fixed version recorded

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related