CVE-2025-59391: Medium severity libcoap vulnerability

Published Dec 8, 2025
·
Updated

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.

Affected Software

2 affected components
libcoap<4.3.5-patches
libcoap libcoap<4.3.5a

Event History

Dec 8, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-59391?

CVE-2025-59391 is classified as a memory disclosure vulnerability that may allow attackers to read sensitive memory beyond string boundaries.

2

How do I fix CVE-2025-59391?

To fix CVE-2025-59391, upgrade to libcoap version 4.3.5 or later, which includes patches for this vulnerability.

3

What software is affected by CVE-2025-59391?

CVE-2025-59391 affects libcoap versions up to and including 4.3.5-patches.

4

What kind of attack can be executed using CVE-2025-59391?

An attacker could exploit CVE-2025-59391 by performing an out-of-bounds read to infer or disclose sensitive information from memory.

5

Is there a workaround for CVE-2025-59391?

A temporary workaround for CVE-2025-59391 is to avoid using the vulnerable configuration options until an upgrade can be applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203