Release of invalid pointer or reference in wolfSSL - CVE-2026-5507

 

Release of invalid pointer or reference in wolfSSL - CVE-2026-5507

Published: April 14, 2026


Vulnerability identifier: #VU125937
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-5507
CWE-ID: CWE-763
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: wolfSSL
Affected software:
wolfSSL

Detailed vulnerability description

The vulnerability allows a remote user to trigger an arbitrary free.

The vulnerability exists due to improper validation of a pointer from serialized session data in session restore APIs when restoring a session from cache. A remote user can poison the session cache with a crafted session to trigger an arbitrary free.

Exploitation requires the ability to inject a crafted session into the cache and for the application to call specific session restore APIs.


How to mitigate CVE-2026-5507

Install security update from vendor's website.

Sources