GHSA-P746-JJ3F-94P8
Static binaries bundle a Brotli version vulnerable to an out-of-bounds write (CVE-2026-111497)
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche v1.13.2 | github.com/dunglas/frankenphp · -5 d desde divulgación | |
| Divulgación | Publicada | GHSA-P746-JJ3F-94P8 divulgada · CVSS 8.1 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
The standalone static binaries of FrankenPHP 1.8.0 to 1.13.1 include the PHP `brotli` extension, statically linked with Brotli 1.2.0, which is affected by CVE-2026-111497 (GHSA-9v8h-qqgm-4m35 https://github.com/advisories/GHSA-9v8h-qqgm-4m35): an out-of-bounds write in the decoder.
An application that passes attacker-controlled data to `brotli_uncompress_add()` (incremental decompression of uploads, request bodies, queue messages or fetched content) can be crashed by a single unauthenticated request, taking down the whole FrankenPHP process. The out-of-bounds write may allow memory disclosure or code execution, which was not demonstrated against FrankenPHP.
Loading the extension alone is not exploitable. Caddy's `br` response encoding only uses the encoder and is not affected.
Patches
Static binaries of FrankenPHP 1.13.2 and later bundle Brotli 1.2.1, which fixes the issue.
Docker images don't load the `brotli` extension by default, but PHP's curl extension decodes Brotli responses (`CURLOPT_ENCODING`) with the system library. Starting with 1.13.4, Docker images ship a patched Brotli: the distribution's security update on Debian Trixie and Alpine, and Brotli 1.2.1 built from source on Debian Bookworm. Starting with 1.13.4, Windows builds ship Brotli 1.2.1, including the `brotlidec.dll` used by PHP's curl extension (PHP 8.5.12-1 Windows build).
Workarounds
Don't pass untrusted data to `brotli_uncompress_add()` or `brotli_uncompress()`.
Proof of concept
A PHP endpoint feeding two attacker-supplied chunks of the request body to one incremental decoder (`brotli_uncompress_add()`) makes the official 1.13.1 Linux x86-64 binary exit with `SIGSEGV`. The 1.13.2 binary rejects the same input with `brotli_uncompress_add(): failed to uncompress` and keeps running.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogithub.com/dunglas/frankenphp |
Corregida | v1.13.2 | -5 d | v1.13.6 no afectada |
1.13.2v1.13.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/php/frankenphp/security/advisories/GHSA-p746-jj3f-94p8Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
