Skip to content

PHP patches a 9.2-severity PHP-FPM request-smuggling bug

The November security release fixes 16 CVEs in PHP 8.5.13 alone. The worst lets an attacker run code as the FPM worker, but only on setups that keep FastCGI connections open.

Source: PHP.net

PHP shipped its scheduled security release on 19 November, publishing the version numbers and CVEs that were still missing when the patch window was first announced. PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 are out now, with 8.5.13’s changelog listing 16 fixed CVEs.

The one to act on is CVE-2026-129289, a CVSS 9.2 request-smuggling bug in PHP-FPM. An unread HTTP request body lets an attacker get PHP-FPM to run their own code as the worker, but only when the front end keeps a FastCGI connection open across requests, as with:

fastcgi_keep_conn on;

That covers nginx with fastcgi_keep_conn, Apache’s mod_proxy_fcgi with enablereuse on, HAProxy’s FastCGI keep-alive, and LSAPI. Standard nginx and Apache set-ups, which open a fresh connection per request, aren’t exposed to this path. The same release fixes several other bugs PHP itself flags as capable of remote code execution, including a core use-after-free in magic method backtraces and a use-after-free in the date extension’s timezone cache.

Why it matters: if your stack reuses FastCGI connections for performance, check that config today. Everyone else should still upgrade: three of the sixteen bugs fixed in 8.5.13 alone are RCE-capable.

The caveat: none of these are on CISA’s exploited list yet, and PHP says the critical-rated issues need non-default configuration to trigger.

Share

Related reading

More from The Wire

All briefs