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.

EPSS: 0.002 (14.7th percentile) — read the EPSS interpretation.

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.

Affected products

  • Libcoap — versions 4.3.5
  • N/a — versions n/a

Weakness classification (CWE)

References

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.