# CVE-2025-65496: NULL pointer dereference in coapdtlsgeneratecookie() in src/coapopenssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial o…

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- 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.28%, higher than 22% 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 no, technical impact partial
- Assigned by: mitre

## Description

NULL pointer dereference in coap_dtls_generate_cookie() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS handshake that triggers SSL_get_SSL_CTX() 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-65496](https://www.cve.org/CVERecord?id=CVE-2025-65496), CVE Terms of Use, modified 2025-11-24
- NVD: [CVE-2025-65496](https://nvd.nist.gov/vuln/detail/CVE-2025-65496), Public domain, modified 2026-11-05

---

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