A vulnerability in the PHP CGI binary (php-cgi) allows out-of-bounds read and write during PATH_INFO correction when cgi.fix_pathinfo is enabled. This affects PHP versions before 8.2.36, 8.3.37, 8.4.28, and 8.5.13. An unauthenticated remote attacker can cause a process crash, potentially access process memory if certain variables are exposed, and corrupt memory. PHP-FPM and the Apache module are not affected.