Vulnerability · Published Dec 8, 2025 · Assigned by mitre

CVE-2025-59391

Medium 6.5

In plain English

A medium-severity out-of-bounds read in the libcoap3 package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 82.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libcoap3no fix listedDEBIAN-CVE-2025-59391
Debian:13libcoap34.3.4-1.1+deb13u2DEBIAN-CVE-2025-59391
Debian:14libcoap34.3.5-2DEBIAN-CVE-2025-59391
Ubuntu:22.04:LTSlibcoap2no fix listedUBUNTU-CVE-2025-59391
Ubuntu:22.04:LTSlibcoap3no fix listedUBUNTU-CVE-2025-59391
Ubuntu:24.04:LTSlibcoap3no fix listedUBUNTU-CVE-2025-59391
Ubuntu:25.10libcoap3no fix listedUBUNTU-CVE-2025-59391
Ubuntu:26.04:LTSlibcoap3no fix listedUBUNTU-CVE-2025-59391
Ubuntu:26.10libcoap3no fix listedUBUNTU-CVE-2025-59391

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

References