CVE-2025-65495

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…

High · published November 24, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
14.4
In the wild
Unconfirmed
What it is

⚡ An integer signedness error lurks in libcoap 4.3.5 that can turn a crafted TLS certificate into a denial-of-service ticket! 🔥 Think of this as a waiter at a restaurant mistakenly interpreting a negative number on your order as an infinite amount of food — they get overwhelmed, and your meal never arrives! If exploited, this vulnerability could cause your service to deny requests, leaving users frustrated and unable to connect. It's like locking your front door on a busy day — you're keeping everyone out, including your loyal customers!

Put simply

Think of this as a waiter at a restaurant mistakenly interpreting a negative number on your order as an infinite amount of food — they get overwhelmed, and your meal never arrives! In the function tls_verify_call_back(), an attacker can supply a crafted TLS certificate that causes the i2d_X509() function to return -1. This mishap is misused as a malloc() size parameter, potentially leading to a denial of service.

What to do

If exploited, this vulnerability could cause your service to deny requests, leaving users frustrated and unable to connect. It's like locking your front door on a busy day — you're keeping everyone out, including your loyal customers! To mitigate this issue, update libcoap to the latest version where this vulnerability is patched. Review your code for proper handling of TLS certificates and ensure robust error checking is implemented. Don't forget to test your application thoroughly after the update! You’ve got this! With these steps, you’re well on your way to keeping your services running smoothly! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00241 · 14.4th percentile
Published
2025-11-24T00:00Z
EPSS history
Timeline
  • 24 NOV 00:00Z
    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…
    cvelistv5