Vulnerability · Published Apr 9, 2026 · Assigned by wolfSSL
CVE-2026-5507Session Cache Restore — Arbitrary Free via Deserialized Pointer
Medium 4.1
In plain English
A medium-severity unsafe deserialization in wolfSSL from wolfSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
When restoring a session from cache, a pointer from the serialized session data is used in a free operation without validation. An attacker who can poison the session cache could 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | wolfssl | 5.9.1-r0 | ALPINE-CVE-2026-5507 |
| Alpine:v3.24 | wolfssl | 5.9.1-r0 | ALPINE-CVE-2026-5507 |
| Debian:12 | wolfssl | no fix listed | DEBIAN-CVE-2026-5507 |
| Debian:13 | wolfssl | no fix listed | DEBIAN-CVE-2026-5507 |
| Ubuntu:22.04:LTS | wolfssl | no fix listed | UBUNTU-CVE-2026-5507 |
| Ubuntu:24.04:LTS | wolfssl | no fix listed | UBUNTU-CVE-2026-5507 |
| Ubuntu:25.10 | wolfssl | no fix listed | UBUNTU-CVE-2026-5507 |
| Ubuntu:26.04:LTS | wolfssl | no fix listed | UBUNTU-CVE-2026-5507 |
| Ubuntu:26.10 | wolfssl | no fix listed | UBUNTU-CVE-2026-5507 |
Affected products (as reported)
Weakness: CWE-502 · Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N