CVE Catalog

CVE-2025-65497

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.28%

21th percentile - higher than 21% of all known CVEs

Summary

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.

Risk Assessment

The vulnerability can cause unavailability of CoAP services using DTLS, disrupting IoT device communication. It is easily exploitable remotely by sending a crafted packet.

Recommendation

Update libcoap to a version containing the fix or apply a patch to coap_dtls_generate_cookie(). Until then, consider restricting access to the DTLS service.

Other vulnerabilities in libcoap

See all
Original NVD description (English source)

NULL pointer dereference in coap_dtls_generate_cookie() 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_SSL_CTX() to return NULL.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS