llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · github.com/dunglas/frankenphp

GHSA-Q6VV-3P75-53WR

exit() with a negative status makes FrankenPHP panic and stop

Texto original en inglés · Ver en español

Parche disponible
Descargar PNG JSON
CVSS 3.1
5.9
Media
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche el mismo día de la divulgación
Exposición16 dDesde la divulgación, 5 nov 2026, 7:01 a. m.
Detección14 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Ni el CISO se despertaría por esta.Revisa, agenda, parchea. El clásico de siempre.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche v1.13.5
Monitoreo
Detectada +1
5 nov 26
19 nov 26
21 nov 26
5 nov 26
9 nov 26
13 nov 26
17 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-Q6VV-3P75-53WR divulgada · CVSS 5.9 (GitHub)
Divulgación Modificada Última actualización del registro
Remediación Parche v1.13.5 github.com/dunglas/frankenphp · 0 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Impact

A PHP script that calls `exit()` or `die()` with a negative integer status, such as `die(-1)` on an error path, makes FrankenPHP panic. The whole process exits, with every site and in-flight request it serves. Classic and worker modes are both affected.

Exploitation requires an application that passes a negative or attacker-influenced integer to `exit()` on a path a client can reach. Any status whose low 32 bits are negative as a signed integer triggers it, for example `-1` or `4294967295`. String arguments, uncaught exceptions and fatal errors do not.

Patches

Fixed in 1.13.5.

Workarounds

Do not pass negative integers, or integers derived from request data, to `exit()` or `die()`.

Details

After each script, `php_thread()` passes `EG(exit_status)` to `go_frankenphp_after_script_execution()`, which panicked on a negative value. The check dates from when a negative value meant FrankenPHP itself failed to run the script, which it no longer reports this way. `EG(exit_status)` holds the integer given to `exit()` without a range check, so a script could reach the panic. It ran on a PHP thread where nothing recovers it.

The check is removed. The thread handlers already handle any status: regular threads ignore it, and workers only distinguish zero from non-zero.

Proof of concept
<?php
// exit.php
echo 'bye';
exit(-1);
$ frankenphp php-server --listen 127.0.0.1:8080 &
$ curl http://127.0.0.1:8080/exit.php
curl: (52) Empty reply from server

The server logs `panic: error during PHP script execution` and exits with status 2.

Credits

Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-UV4G0KZN.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
7.1/ 10Alto
Vector 7.1 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
github.com/dunglas/frankenphp≤ 1.13.4
1.13.4
v1.13.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/dunglas/frankenphp
Corregida v1.13.5 0 d v1.13.6 no afectada
Versiones corregidasv1.13.5
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/php/frankenphp/security/advisories/GHSA-q6vv-3p75-53wr

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