CVE-2025-65494

NameCVE-2025-65494
DescriptionNULL 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.
SourceCVE (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 PackageReleaseVersionStatus
libcoap2 (PTS)bullseye4.2.1-1vulnerable
libcoap3 (PTS)bookworm4.3.1-1vulnerable
trixie4.3.4-1.1+deb13u1vulnerable
forky, sid4.3.5-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libcoap2source(unstable)(unfixed)
libcoap3source(unstable)(unfixed)

Notes

[trixie] - libcoap3 <no-dsa> (Minor issue)
[bookworm] - libcoap3 <no-dsa> (Minor issue)
https://github.com/obgm/libcoap/issues/1745
https://github.com/obgm/libcoap/pull/1750

Search for package or bug name: Reporting problems