CVE-2025-59391: libcoap - Information Disclosure & Denial of Service
- Cve: CVE-2025-59391
- Name: libcoap - Information Disclosure & Denial of Service
- 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.
- Impact: Attackers can read memory beyond intended boundaries, potentially disclosing sensitive information or causing denial of service.
- Remediation: Update to release-4.3.5-patches or later.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: information_disclosure, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
- Epss score: 0.00279
- Epss percentile: 0.2046
- Assignee: [email protected]
- Published at: 2025-12-08T17:16:20Z
- Age in days: 351
- Modified at: 2026-10-19T13:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-59391
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/obgm/libcoap/pull/1730 | nvd | Issue Tracking, Patch |
| https://github.com/obgm/libcoap/releases/tag/v4.3.5a | nvd | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| libcoap:libcoap | < 4.3.5a | no | nvd | /v1/products/libcoap/libcoap |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| obgm/libcoap | pull, releases | yes | /v1/repositories/obgm/libcoap |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts