A use-after-free vulnerability in PHP's handling of magic method backtraces can lead to remote code execution. This occurs when collecting arguments for __call() or __callStatic() methods during a backtrace if a fatal error like exceeding memory_limit happens. The issue affects PHP versions 8.5.0 up to but not including 8.5.13. A fix is available in PHP 8.5.13. The vulnerability can cause memory corruption, crashes, or arbitrary code execution if exploited.