PHP patches session flaw reported with AI assistance

PHP fixed a use-after-free (a process tries to use memory it has already released) in the code that closes sessions. The flaw can corrupt memory or crash a server process. PHP credits TarPeg007 and bryans3c with reporting it using AI assistance and lists fixes in versions 8.3.37, 8.4.28 and 8.5.13.
PositivePHP, a language used to build websites, fixed a flaw in how it ends sessions after researchers reported it with AI's help, so users can update to 8.3.37, 8.4.28 or 8.5.13.