CVE Catalog

CVE-2025-65494

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

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

Summary

In OISM libcoap 4.3.5, the get_san_or_cn_from_cert() function in src/coap_openssl.c contains a NULL pointer dereference. A crafted X.509 certificate causes sk_GENERAL_NAME_value() to return NULL, leading to a remote denial of service attack.

Risk Assessment

An attacker can remotely crash a service using libcoap by supplying a crafted certificate. This results in service unavailability for legitimate clients.

Recommendation

Update libcoap to a patched version or implement certificate validation before processing. Monitor the library's releases for security fixes.

Other vulnerabilities in OISM libcoap

See all
Original NVD description (English source)

NULL pointer dereference in get_san_or_cn_from_cert() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted X.509 certificate that causes sk_GENERAL_NAME_value() to return NULL.

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