# CVE-2025-59391: A memory disclosure vulnerability exists in libcoap's OSCORE configuration parser in libcoap before release-4.3.5-patches.

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-12-08T00:00:00.000Z
- Modified: 2026-10-19T13:10:00.110Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libcoap libcoap: before 4.3.5a

## References

- <https://github.com/obgm/libcoap/releases/tag/v4.3.5a> (release-notes)
- <https://github.com/obgm/libcoap/pull/1730> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2025-59391](https://www.cve.org/CVERecord?id=CVE-2025-59391), CVE Terms of Use, modified 2025-12-08
- NVD: [CVE-2025-59391](https://nvd.nist.gov/vuln/detail/CVE-2025-59391), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-59391 · Whole record: https://cve.day/CVE-2025-59391.json · Rebuilt by cve.day 2026-11-25T22:59:08.444Z
