CVE-2025-65493
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk35th percentile - higher than 35% of all known CVEs
Summary
NULL pointer dereference in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS/TLS connection that triggers BIO_get_data() to return NULL.
Risk Assessment
An attacker can remotely crash an application using libcoap, causing denial of service. The risk affects CoAP services using the vulnerable library version with DTLS/TLS support.
Recommendation
Update libcoap to a version containing the fix (later than 4.3.5). Monitor for the official patch and apply it promptly.
Other vulnerabilities in libcoap
See all- CVE-2025-34468Critical
A stack-based buffer overflow exists in libcoap versions up to 4.3.5 (before commit 30db3ea) during address resolution. A remote attacker can trigger a crash or potentially achieve remote code execution if proxy logic is enabled in the application.
- CVE-2025-59391Medium
A memory disclosure vulnerability exists in libcoap's OSCORE configuration parser before release-4.3.5-patches. An out-of-bounds read may occur when parsing certain configuration values, allowing an attacker to read memory beyond string boundaries in the .rodata section.
- CVE-2025-65498Medium
A NULL pointer dereference exists in coap_dtls_generate_cookie() in src/coap_openssl.c in OISM libcoap 4.3.5. A remote attacker can cause a denial of service via a crafted DTLS handshake that triggers SSL_get_SSL_CTX() to return NULL.
- CVE-2025-65497Medium
A NULL pointer dereference exists in coap_dtls_generate_cookie() in src/coap_openssl.c in OISM libcoap 4.3.5. A remote attacker can cause a denial of service via a crafted DTLS handshake that triggers SSL_get_SSL_CTX() to return NULL.
- CVE-2025-65496Medium
A NULL pointer dereference exists in coap_dtls_generate_cookie() in src/coap_openssl.c in OISM libcoap 4.3.5. A remote attacker can cause a denial of service via a crafted DTLS handshake that triggers SSL_get_SSL_CTX() to return NULL.
- CVE-2023-35862Medium
Version 4.3.1 of the libcoap library contains a buffer over-read vulnerability in the coap_parse_oscore_conf_mem function in coap_oscore.c.
Original NVD description (English source)
NULL pointer dereference in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS/TLS connection that triggers BIO_get_data() to return NULL.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

