PHP-CGI out-of-bounds read and write during PATH_INFO correction
PHP-CGI out-of-bounds read and write during PATH_INFO correction.
The PHP CGI binary (php-cgi), in CGI and FastCGI mode with cgi.fix_pathinfo enabled (the default), can perform an out-of-bounds read and write when the path removed from SCRIPT_FILENAME or PATH_TRANSLATED is longer than the supplied PATH_INFO, or when PATH_INFO is empty. This requires a web server mapping that passes such inconsistent values, or a FastCGI listener reachable by untrusted clients. An unauthenticated remote attacker can crash the process, may obtain process memory if the application exposes PATH_INFO or PATH_TRANSLATED, and may corrupt memory. PHP-FPM and the Apache module are not affected.
This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| PHP (intérprete) | PHP | >= 8.2.0, < 8.2.36, >= 8.3.0, < 8.3.37, >= 8.4.0, < 8.4.28, >= 8.5.0, < 8.5.13 sapi-cgi: < 8.2.36; >= 8.3.0, < 8.3.37; >= 8.4.0, < 8.4.28; >= 8.5.0, < 8.5.13 |
8.2.36, 8.3.37, 8.4.28, 8.5.13 |
Referencias
- Vector CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N- Debilidad (CWE)
CWE-125, CWE-787, CWE-823- Plataforma
- PHP
- Paquete
PHP- Publicada
- 19.11.2026
- Actualizado
- 19.11.2026 21:17
Fuentes y licencias
PHP Security Advisories - GHSA-5j3f-64r7-f564 - CVE Terms of Use
Copyright 1999-2026 The MITRE Corporation
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
https://www.cve.org/Legal/TermsOfUseHistorial de vulnerabilidades: PHP
Todas las vulnerabilidades publicadas de este paquete (PHP (intérprete)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 78
- Primera → última
- 02.2023 11.2026
- Sin corrección
- 1
- Explotada en ataques
- 3
Distribución por gravedad
- Crítica 11
- Alta 16
- Media 42
- Baja 9
Divulgaciones por año
- 2023: 5
- 2024: 17
- 2025: 12
- 2026: 44
-
PHP-CGI out-of-bounds read and write during PATH_INFO correction esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.