NULL pointer dereference in Libcoap
CVE-2025-65500
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.003, 21.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libcoap — versions 4.3.5
Weakness classification (CWE)
References
- github.com/obgm/libcoap/issues/1746 (Issue Tracking)
- github.com/obgm/libcoap/pull/1750 (Patch, Issue Tracking)