CVE-2025-59391

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:libcoap:libcoap:*:*:*:*:*:*:*:*

History

12 Dec 2025, 12:34

Type Values Removed Values Added
References () https://github.com/obgm/libcoap/pull/1730 - () https://github.com/obgm/libcoap/pull/1730 - Issue Tracking, Patch
References () https://github.com/obgm/libcoap/releases/tag/v4.3.5a - () https://github.com/obgm/libcoap/releases/tag/v4.3.5a - Release Notes
First Time Libcoap
Libcoap libcoap
CPE cpe:2.3:a:libcoap:libcoap:*:*:*:*:*:*:*:*

08 Dec 2025, 18:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
CWE CWE-125

08 Dec 2025, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-12-08 17:16

Updated : 2025-12-12 12:34


NVD link : CVE-2025-59391

Mitre link : CVE-2025-59391

CVE.ORG link : CVE-2025-59391


JSON object : View

Products Affected

libcoap

  • libcoap
CWE
CWE-125

Out-of-bounds Read