CVE-2025-59391

NameCVE-2025-59391
DescriptionA 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.
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)
Debian Bugs1122290

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
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
libcoap3source(unstable)(unfixed)1122290

Notes

[trixie] - libcoap3 <no-dsa> (Minor issue)
[bookworm] - libcoap3 <no-dsa> (Minor issue)
https://github.com/obgm/libcoap/pull/1730
Fixed by: https://github.com/obgm/libcoap/commit/da534de75edd1b3628a28908d30b0efbaa01be09 (develop)
Fixed by: https://github.com/obgm/libcoap/commit/d56fb48bffd625f779eaf4616ccda62e1a7f6fd3 (v4.3.5a)

Search for package or bug name: Reporting problems