Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-59391 EUVD-2025-201786GHSA-7v9m-g6fx-mq4f

A memory disclosure vulnerability exists in libcoap's OSCORE configuration parser in libcoap before release-4.3.5-patches. An out-of-bounds…

Published Dec 8, 2025 · Updated Dec 8, 2025 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcoap3 4.3.5-2 —
Debian 13 libcoap3 4.3.4-1.1+deb13u2 —
Debian 12 libcoap3 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libcoap3 No fix yet —
Ubuntu 26.04 LTS libcoap3 No fix yet —
Ubuntu 25.10 libcoap3 No fix yet —
Ubuntu 24.04 LTS libcoap3 No fix yet —
Ubuntu 22.04 LTS libcoap2 +1 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libcoap2 No fix yet —
Ubuntu 18.04 LTS libcoap No fix yet —

References