A use-after-free vulnerability in PHP's handling of magic method backtraces can lead to remote code execution or denial of service. This occurs when PHP collects arguments for __call() or __callStatic() methods during a backtrace and reads stale memory references if a fatal error happens simultaneously. The issue affects PHP versions 8.5.0 through 8.5.12 and is fixed in 8.5.13. The vulnerability requires specific PHP configuration settings and attacker control over request data to exploit.