Medium (4.1) in wolfssl wolfssl. EPSS 0.2% chance of exploitation in the next 30 days.
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.