| Name | CVE-2025-65498 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libcoap2 (PTS) | bullseye | 4.2.1-1 | vulnerable |
| libcoap3 (PTS) | bookworm | 4.3.1-1 | vulnerable |
| trixie | 4.3.4-1.1+deb13u1 | vulnerable |
| forky, sid | 4.3.5-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| libcoap2 | source | (unstable) | (unfixed) | | | |
| libcoap3 | source | (unstable) | (unfixed) | | | |
Notes
[trixie] - libcoap3 <no-dsa> (Minor issue)
[bookworm] - libcoap3 <no-dsa> (Minor issue)
https://github.com/obgm/libcoap/issues/1746
https://github.com/obgm/libcoap/pull/1750