llamaCVEVulnerability Intelligence
/
PHP

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

Crítica · CVSS alto en tecnología listadaSolo en configuraciones específicasParche disponibleuse-after-free
Descargar PNG JSON
CVSS 4.0
9.2
Crítica
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
ExplotaciónExploit públicoSSVC de CISA-ADP decía «ninguna» · ajustado por exploit detectado
Exploits públicos11 fuente · 1 confirmado en GitHub
Parche1 versión8.5.13
Exposición2 dDesde la divulgación, 19 nov 2026, 9:43 a. m.
Detección8 minDesde la divulgación hasta su ingreso al índice
Decisión SSVC · ajustadaAtender
Priorizar en el próximo ciclo de cambios
Exploit público disponible (1), no automatizable e impacto técnico total. Decisión recalculada: la evaluación SSVC original indicaba explotación «ninguna». Se eleva a «Atender» por existir un exploit funcional público. Hay versiones corregidas disponibles.
Revisa si el servicio da a internet. Si sí: corre.Me tiemblan las patas. Tú encárgate del parche.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Evaluación SSVC
Publicada
Modificada
Explotación
Exploit en GitHub
Remediación
Monitoreo
Detectada
Fuente: NIST NVD
Fuente: ENISA EUVD
Fuente: PoC-in-GitHub +1
07:00 p. m.
09:43 a. m.
10:25 a. m.
12:19 p. m.
11:56 p. m.
09:17 a. m.
01:14 p. m.
07:00 p. m.
11:33 a. m.
04:07 a. m.
08:40 p. m.
01:14 p. m.
FechaFaseEventoDetalle
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
Resumen
Resumen generado por IA · CC-BY 4.0 · 19 nov 2026

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).

¿Qué significa?A use-after-free bug in how PHP builds backtraces for magic method calls lets memory be reused after it is freed. This can lead to memory corruption and worker crashes, or to arbitrary code execution with the privileges of the PHP worker.
¿Quién está afectado?PHP 8.5.x from 8.5.0 up to but not including 8.5.13 is in the affected range. The demonstrated remote attack requires fatal_error_backtraces=1 and zend.exception_ignore_args=0, plus an attacker who controls enough request data to influence memory allocation, a reachable magic method call, and a fatal error at the relevant point. The installed version can be checked with php -v, and the two settings with php -i or in php.ini.
¿Qué hacer?The affected range ends at 8.5.13, so upgrading to PHP 8.5.13 or later moves past the affected versions. The advisory facts give no separate workaround.
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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
PHP 8.5.x before 8.5.13“Affected versions >= 8.5.0, < 8.5.13”
02
Fatal error backtraces enabled and exception args not ignored (zend.exception_ignore_args=0)“The demonstrated remote attack requires fatal_error_backtraces=1 and zend.exception_ignore_args=0 .”
03
Attacker controls enough request data to influence memory allocation“requires control over enough request data to influence memory allocation, a reachable magic method call, and a fatal error at the relevant point”
¿Quién debe revisar?Teams running PHP 8.5.x before 8.5.13 (FPM or web workers) with fatal error backtraces on and zend.exception_ignore_args=0, where apps use __call/__callStatic, e.g. Laravel facades.
No protegeChanging only the CLI configuration or setting display_errors=0 does not prevent this.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
8.6/ 10Muy alto
Vector 5.1 (moderada) · +3.5 por exploit público.
Versiones

Rangos afectados

Afectada Corregida
PHP≥ 8.5.0 < 8.5.13
8.5.0
8.5.13
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
PHP
Corregida 8.5.13 — —
Versiones corregidas8.5.13
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
LLCForge/CVE-2026-129474
1
Ver los 1 repositorios de GitHub (1 con exploit confirmado)
LLCForge/CVE-2026-129474exploit

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.

Registro
EscenarioGENERALphp
Referencias
Fabricantehttps://github.com/php/php-src/security/advisories/GHSA-8mjj-2r7p-4hg2
Exploithttps://github.com/LLCForge/CVE-2026-129474

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.