CVE-2025-59391 json
A memory disclosure vulnerability exists in libcoap's OSCORE configuration parser in libcoap before release-4.3.5-patches.
published 2025-12-08 11 mo ago modified 2026-10-19 21 d ago also EUVD-2025-201786
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libcoap libcoap 4.3.5a
- libcoap3 Debian 13 4.3.4-1.1+deb13u2
- libcoap3 Debian 14 4.3.5-2
debian advisories DEBIAN-CVE-2025-59391
- github.com/obgm/libcoap#1730 pull request
- github.com/obgm/libcoap/releases/tag/v4.3.5a release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-59391 updated cvss 6.5
libcoap: libcoap: Out-of-bounds read in OSCORE configuration parser leads to information disclosure
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 11 mo ago
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/obgm/libcoap/pull/1730
issue-tracking, patch
-
github.com
/obgm/libcoap/releases/tag/v4.3.5a
release-notes
Sources
- CVE List CVE-2025-59391
- NVD CVE-2025-59391
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.