Improper Validation of Array Index Affecting libcoap package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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

NewCVE-2025-65499  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

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