Pattern
Use-After-Free Cleanup Access
use-after-free-cleanup-access
Ephemeral handshake state or pointers are freed on an error path but still referenced later by cleanup code or follow-up logic, causing use-after-free memory writes; this can be triggered during TLS negotiation state updates and breaks session resumption flows.