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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libcoap3 | no fix listed | DEBIAN-CVE-2025-59391 |
| Debian:13 | libcoap3 | 4.3.4-1.1+deb13u2 | DEBIAN-CVE-2025-59391 |
| Debian:14 | libcoap3 | 4.3.5-2 | DEBIAN-CVE-2025-59391 |
| Ubuntu:22.04:LTS | libcoap2 | no fix listed | UBUNTU-CVE-2025-59391 |
| Ubuntu:22.04:LTS | libcoap3 | no fix listed | UBUNTU-CVE-2025-59391 |
| Ubuntu:24.04:LTS | libcoap3 | no fix listed | UBUNTU-CVE-2025-59391 |
| Ubuntu:25.10 | libcoap3 | no fix listed | UBUNTU-CVE-2025-59391 |
| Ubuntu:26.04:LTS | libcoap3 | no fix listed | UBUNTU-CVE-2025-59391 |
| Ubuntu:26.10 | libcoap3 | no fix listed | UBUNTU-CVE-2025-59391 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L