CVE-2025-65499 Details
Description
Array index error in tls_verify_call_back() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS handshake that triggers SSL_get_ex_data_X509_STORE_CTX_idx() to return -1.
An array index error has been identified in OISM libcoap version 4.3.5, specifically within the tls_verify_call_back() function in src/coap_openssl.c. This vulnerability allows remote attackers to cause a denial-of-service by crafting a DTLS handshake that causes SSL_get_ex_data_X509_STORE_CTX_idx() to return -1. The issue arises from improper handling of OpenSSL's return values during certificate verification, leading to a null pointer dereference.
Users can update to the latest version of OISM libcoap, where this issue has been fixed. Instructions for updating can be found in the libcoap documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/obgm/libcoap/issues/1747 | [email protected] | Issue Tracking |
| https://github.com/obgm/libcoap/pull/1750 | [email protected] | Issue TrackingPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-129 | Improper Validation of Array Index | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| libcoap libcoap | 4.3.5 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 1, 2025 | Initial Analysis | [email protected] |
| Nov 24, 2025 | CVE Modified | CISA-ADP |
| Nov 24, 2025 | New CVE Received | [email protected] |