CVE Catalog

CVE-2025-65495

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 tls_verify_call_back() function in src/coap_openssl.c contains an integer signedness error. A crafted TLS certificate causes i2d_X509() to return -1, which is misused as a malloc() size parameter, enabling a remote denial of service attack.

Risk Assessment

A remote attacker can crash a service using libcoap, causing denial of access for legitimate users. This affects IoT and embedded systems that use the library for CoAP over TLS communication.

Recommendation

Update libcoap to a version containing the fix or implement a workaround by validating certificates at the application level. Monitor for new releases of the library.

Other vulnerabilities in OISM libcoap

See all
Original NVD description (English source)

Integer signedness error in tls_verify_call_back() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted TLS certificate that causes i2d_X509() to return -1 and be misused as a malloc() size parameter.

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