NULL pointer dereference in Libcoap
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 crafted X.509 certificate that causes sk_GENERAL_NAME_value() to return NULL.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.002 (13.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 13.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Libcoap — versions 4.3.5
Weakness classification (CWE)
References
- github.com/obgm/libcoap/issues/1745 (Issue Tracking)
- github.com/obgm/libcoap/pull/1750 (Patch, Issue Tracking)
Frequently asked questions
- What is CVE-2025-65494?
- CVE-2025-65494 is a high-severity vulnerability in Libcoap, classified under NULL Pointer Dereference. CVSS score: 7.5/10. Published 2025-11-24.
- How severe is CVE-2025-65494?
- High severity. CVSS v3 base score is 7.5 out of 10.