Skip to content

CVE-2025-59391 A memory disclosure vulnerability exists in libcoap's OSCORE configuration parser in libcoap before release-4.3.5-patches. An out-of-bounds read may occur when parsing certain configuration values, al...

MediumCVSS 6.5 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

A memory disclosure vulnerability exists in libcoap's OSCORE configuration parser in libcoap before release-4.3.5-patches. An out-of-bounds read may occur when parsing certain configuration values, allowing an attacker to infer or read memory beyond string boundaries in the .rodata section. This could potentially lead to information disclosure or denial of service.

Upgrade path

9 packages: 3 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.5a 4.3.5a Fixed

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.5a 4.3.5a

References