Improper Validation of Array Index Affecting libcoap package, versions [,cci.20200424)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (18th 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-14105120
  • published25 Nov 2025
  • disclosed24 Nov 2025
  • creditQingpeng Du

Introduced: 24 Nov 2025

CVE-2025-65499  (opens in a new tab)
CWE-129  (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 Improper Validation of Array Index via the tls_verify_call_back() function. An attacker can cause the application to crash by sending a specially crafted DTLS handshake that results in SSL_get_ex_data_X509_STORE_CTX_idx() returning -1.

CVSS Base Scores

version 4.0
version 3.1