CVE-2025-65497: Null Pointer Dereference
NULL pointer dereference in coapdtlsgeneratecookie() in src/coapopenssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS handshake that triggers SSLgetSSLCTX() to return NULL.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libcoap3to a version that resolves this vulnerability.Fixed in 4.3.4-1.1+deb13u2 - Upgrade
Upgrade
debian/libcoap3to a version that resolves this vulnerability.Fixed in 4.3.5-2 - Upgrade
Upgrade
debian/libcoap3to a version that resolves this vulnerability.Fixed in 4.3.4-1.1+deb13u3Fixed in 4.3.5-4
Event History
Frequently Asked Questions
What is the severity of CVE-2025-65497?
CVE-2025-65497 is classified as a denial of service vulnerability.
How do I fix CVE-2025-65497?
To fix CVE-2025-65497, update OISM libcoap to the latest version where the vulnerability is addressed.
What causes the vulnerability CVE-2025-65497?
CVE-2025-65497 is caused by a null pointer dereference in the coap_dtls_generate_cookie() function.
Who is affected by CVE-2025-65497?
Users of OISM libcoap 4.3.5 are affected by CVE-2025-65497.
Can CVE-2025-65497 be exploited remotely?
Yes, CVE-2025-65497 can be exploited remotely via a crafted DTLS handshake.