Session Cache Restore — Arbitrary Free via Deserialized Pointer
Summary
| CVE | CVE-2026-5507 |
|---|---|
| State | PUBLISHED |
| Assigner | wolfSSL |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-09 23:17:01 UTC |
| Updated | 2026-04-29 14:05:22 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 4.1 MEDIUM from [email protected]
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.000150000 probability, percentile 0.031090000 (date 2026-05-01)
Problem Types: CWE-502 | CWE-502 CWE-502 Deserialization of untrusted data
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 4.1 | MEDIUM | 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/E:X/C... |
| 4.0 | CNA | CVSS | 4.1 | MEDIUM | 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 |
| 3.1 | [email protected] | Primary | 4 | MEDIUM | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H |
CVSS v4.0 Breakdown
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/wolfSSL/wolfssl/pull/10088 | [email protected] | github.com | Issue Tracking, Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Sunwoo Lee (Korea Institute of Energy Technology, KENTECH) (en)
CNA: Woohyun Choi (Korea Institute of Energy Technology, KENTECH) (en)
CNA: Seunghyun Yoon (Korea Institute of Energy Technology, KENTECH) (en)