CVE-2026-129182
PHP memory corruption via stale last_fatal_error_backtrace
A remote attacker without logging in can corrupt memory, crash workers, and possibly run their own code.
Texto original en inglés · Ver en español
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-129182 divulgada · CVSS 9.2 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Explotación | Umbral EPSS | La probabilidad de explotación supera el 10 % | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
A use-after-free flaw in PHP (from the PHP Group) lets an attacker corrupt memory, crash PHP-FPM or mod_php workers, and possibly run their own code. It can be reached remotely without logging in, but only on servers with specific per-path or per-directory configuration, where a fatal error during request shutdown leaves stale data that a later request on the same worker then uses.
Affects PHP 8.5.0 through 8.5.12 under PHP-FPM or mod_php, and only with specific memory-limit or output-compression settings plus a later request on the same worker. Fixed in 8.5.13.
Descripción original del registro (php)
Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown. A fatal error raised while modified INI settings are restored during request shutdown can repopulate the stored fatal error backtrace after the executor has been cleaned up. The request memory is then freed, and a diagnostic emitted before executor initialization in a later request handled by the same PHP-FPM or mod_php worker can access the stale backtrace. The shutdown error requires per-path configuration of max_memory_limit, or of zlib.output_compression together with output_handler (which .user.ini can also set). The early diagnostic requires Apache per-directory configuration or, for PHP-FPM, a PHP_VALUE or PHP_ADMIN_VALUE parameter sent by the front end. This can cause memory corruption and worker crashes, and may allow remote code execution. This issue affects PHP versions 8.5.* before 8.5.13.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
PHP |
Corregida | 8.5.13 | — | — |
8.5.13Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/php/php-src/security/advisories/GHSA-2fjv-p558-g82mLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
