CVE-2026-129474
PHP remote code execution in magic method backtraces
An unauthenticated remote attacker can corrupt memory, crash the worker, or in some cases run arbitrary code.
Texto original en inglés · Ver en español
CVSS:4.0/AV:N/AC:H/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 | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Publicada | CVE-2026-129474 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 | |
| Divulgación | Modificada | Última actualización del registro | |
| Explotación | Exploit en GitHub | LLCForge/CVE-2026-129474 | |
| Monitoreo | Fuente: PoC-in-GitHub | Registro visto por primera vez en PoC-in-GitHub | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
A use-after-free flaw in PHP, from the PHP Group, can let an attacker corrupt memory, crash the PHP worker or, in some cases, run arbitrary code. It can be reached remotely without logging in, by sending enough request data to influence memory allocation while a fatal error such as exceeding the memory limit occurs during a magic method call, when argument collection for backtraces is left on (zend.exception_ignore_args disabled).
Affects PHP 8.5.0 through 8.5.12; the demonstrated remote attack needs fatal_error_backtraces=1 and zend.exception_ignore_args=0. Upgrade to 8.5.13 or later (listed as the fixed version in the affected range).
Descripción original del registro (php)
Use-after-free in magic method backtraces can lead to remote code execution. When collecting the arguments of a method call handled by __call() or __callStatic() for a backtrace, PHP can read stale values that may refer to freed memory. If a fatal error such as exceeding memory_limit occurs while an application enters such a call, with fatal_error_backtraces enabled (the default) and zend.exception_ignore_args disabled, a remote attacker who controls enough request data to influence memory allocation may cause memory corruption, crash the PHP worker or, with knowledge of memory addresses, execute arbitrary code. php.ini-production enables zend.exception_ignore_args, which prevents this. 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
Ver los 1 repositorios de GitHub (1 con exploit confirmado)
Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.
https://github.com/php/php-src/security/advisories/GHSA-8mjj-2r7p-4hg2https://github.com/LLCForge/CVE-2026-129474Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
