A use-after-free issue occurs during interrupted session shutdown. The session extension records the executing script filename at session start. If a fatal error happens in an application callback during the destruction of session variables at shutdown, such as during the `stream close()` of a user-defined stream wrapper, a pointer is retained after request memory is freed. A subsequent request handled by the same worker may then free this stale string. A remote attacker can trigger this failing cleanup without logging in to crash the worker or corrupt memory. This occurs when the filename is allocated in request memory, such as when the script is not cached by OPcache.