# CVE-2025-65494: NULL pointer dereference in getsanorcnfromcert() in src/coapopenssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of se…

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-11-24T00:00:00.000Z
- Modified: 2026-11-05T13:10:00.180Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libcoap libcoap: 4.3.5

## References

- <https://github.com/obgm/libcoap/issues/1745> (issue-tracking)
- <https://github.com/obgm/libcoap/pull/1750> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2025-65494](https://www.cve.org/CVERecord?id=CVE-2025-65494), CVE Terms of Use, modified 2025-11-24
- NVD: [CVE-2025-65494](https://nvd.nist.gov/vuln/detail/CVE-2025-65494), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-65494 · Whole record: https://cve.day/CVE-2025-65494.json · Rebuilt by cve.day 2026-11-25T22:59:07.959Z
