CVE-2025-65494

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…

High · published November 24, 2025

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

⚡ A crafted X.509 certificate can trigger a NULL pointer dereference! This vulnerability in OISM libcoap 4.3.5 could lead to an unexpected denial of service. 😱 Think of it like a restaurant that accepts a reservation, but when the guest arrives, there's no table available because the reservation system crashed—leaving everyone hungry and frustrated! An attacker can exploit this flaw to cause the service to become unresponsive, leading to an outage that affects all users. This could mean lost access to critical communications or services that rely on this library, leaving your system in the lurch!

Put simply

Think of it like a restaurant that accepts a reservation, but when the guest arrives, there's no table available because the reservation system crashed—leaving everyone hungry and frustrated! The vulnerability stems from the function get_san_or_cn_from_cert() in src/coap_openssl.c, where a crafted certificate can cause sk_GENERAL_NAME_value() to return NULL, leading to a denial of service as the program tries to access invalid memory.

What to do

An attacker can exploit this flaw to cause the service to become unresponsive, leading to an outage that affects all users. This could mean lost access to critical communications or services that rely on this library, leaving your system in the lurch! To mitigate this risk, upgrade to OISM libcoap version 4.3.6 or later. Additionally, consider implementing input validation on certificates and monitoring your logs for any unusual access patterns. Don't leave any stone unturned! You've got this! Follow these steps and keep your systems 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
    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…
    cvelistv5