FrankenPHP out-of-bounds write in bundled Brotli decoder
Summary
FrankenPHP's standalone static binaries bundle a Brotli decoder with an out-of-bounds write, which a remote attacker with no login can trigger by sending crafted data to an application that passes it to brotli_uncompress_add(), crashing the whole FrankenPHP process. The write could also allow memory disclosure or code execution (not demonstrated against FrankenPHP), and the bug needs a non-default setup in which the application feeds attacker-controlled data to that function.
Details
FrankenPHP standalone static binaries 1.8.0 before 1.13.2 bundle the PHP brotli extension statically linked with Brotli 1.2.0, whose decoder contains an out-of-bounds write (CVE-2026-111497). Unauthenticated remote attackers can send crafted data to applications that pass it to brotli_uncompress_add() to crash the entire FrankenPHP process, and possibly cause memory disclosure or code execution.
Affected
Affects FrankenPHP standalone static binaries 1.8.0 to 1.13.1 when an application passes attacker-controlled data to brotli_uncompress_add(). Fixed in 1.13.2.
Suggested Fix
Upgrade to 1.13.2.