Skip to content

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_GE...

HighCVSS 7.5 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/libcoap3(Debian 12) = 4.3.1-1; = 4.3.1-2; = 4.3.3-1; = 4.3.4-1 +7 more No fix listed No fix yet
ubuntu/libcoap2(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libcoap3(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libcoap3(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libcoap3(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libcoap3(Ubuntu 26.10) All versions No fix listed No fix yet
debian/libcoap3(Debian 13) < 4.3.4-1.1+deb13u2; = 4.3.4-1.1; = 4.3.4-1.1+deb13u1 4.3.4-1.1+deb13u2 Fixed
debian/libcoap3(Debian 14) < 4.3.5-2; = 4.3.4-1.1; = 4.3.5-1 4.3.5-2 Fixed
libcoap = 4.3.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/libcoap3(Debian:12) All versions No fix listed
debian/libcoap3(Debian:12) = 4.3.1-1 No fix listed
debian/libcoap3(Debian:12) = 4.3.1-2 No fix listed
debian/libcoap3(Debian:12) = 4.3.3-1 No fix listed
debian/libcoap3(Debian:12) = 4.3.4-1 No fix listed
debian/libcoap3(Debian:12) = 4.3.4-1.1 No fix listed
debian/libcoap3(Debian:12) = 4.3.4-1.1~exp1 No fix listed
debian/libcoap3(Debian:12) = 4.3.5-1 No fix listed
debian/libcoap3(Debian:12) = 4.3.5-2 No fix listed
debian/libcoap3(Debian:12) = 4.3.5-3 No fix listed
debian/libcoap3(Debian:12) = 4.3.5-4 No fix listed
debian/libcoap3(Debian:13) < 4.3.4-1.1+deb13u2 4.3.4-1.1+deb13u2
debian/libcoap3(Debian:13) = 4.3.4-1.1 No fix listed
debian/libcoap3(Debian:13) = 4.3.4-1.1+deb13u1 No fix listed
debian/libcoap3(Debian:14) < 4.3.5-2 4.3.5-2
debian/libcoap3(Debian:14) = 4.3.4-1.1 No fix listed
debian/libcoap3(Debian:14) = 4.3.5-1 No fix listed
ubuntu/libcoap2(Ubuntu:22.04) All versions No fix listed
ubuntu/libcoap3(Ubuntu:22.04) All versions No fix listed
ubuntu/libcoap3(Ubuntu:24.04) All versions No fix listed
ubuntu/libcoap3(Ubuntu:26.04) All versions No fix listed
ubuntu/libcoap3(Ubuntu:26.10) All versions No fix listed
libcoap = 4.3.5 No fix listed

References