Stack-based Buffer Overflow Affecting libcoap package, versions [,cci.20200424)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-LIBCOAP-14797619
  • published1 Jan 2026
  • disclosed31 Dec 2025
  • creditSecMate

Introduced: 31 Dec 2025

CVE-2025-34468  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade libcoap to version cci.20200424 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow during address resolution, when attacker-controlled hostname data is copied into a fixed-size stack buffer without proper bounds checking. An attacker can cause a crash if proxy logic is enabled in the application using the library.

CVSS Base Scores

version 4.0
version 3.1