Featured image of post PHP Ships Emergency Fixes for Two 9.2-Rated RCE Flaws, Urges Immediate Upgrade

PHP Ships Emergency Fixes for Two 9.2-Rated RCE Flaws, Urges Immediate Upgrade

PHP released 8.5.12, 8.4.27, 8.3.36 and 8.2.35 to fix two unauthenticated RCE flaws, both rated 9.2 under CVSS 4.0. Every web-request deployment is exposed: PHP-FPM, mod_php, php-cgi, FrankenPHP, LiteSpeed; mod_php is worst, with triggers firing before app code runs. Workaround: set session.upload_progress.enabled=0 until the next release. Source: The PHP Foundation

The PHP team has shipped four patched releases to close two unauthenticated remote code execution flaws, and is telling users to upgrade immediately.

  • Fixed versions: PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35
  • CVE IDs: CVE-2026-115560, CVE-2026-109619
  • Severity: both rated 9.2 under CVSS 4.0
  • Exposure: anything that handles web requests — PHP-FPM, Apache mod_php, php-cgi, FrankenPHP, LiteSpeed
  • Workaround: set session.upload_progress.enabled=0 until the next release
  • Announcement: PHP Foundation’s X account on Oct 23, roughly 281,000 views

CVSS is the common scoring system for flaw severity; 9.2 is the band where an attacker with no account can end up executing commands on the host. RCE simply means remote code execution.

Why mod_php bears the most risk

Why mod_php bears the most risk
Why mod_php bears the most risk|News screenshot

The advisory draws the exposure net wide: if your PHP handles web requests, you are in scope. But risk is not spread evenly. mod_php — the older approach that compiles PHP into the Apache process — was singled out as the highest-risk setup, because validation has shown an attack can fire before the site’s application code runs at all.

That detail matters. Framework middleware, validation in an entry script, and WAF rules layered onto the application only get a turn once application code starts executing. If a request is broken at an earlier parsing stage, none of those defenses come into play.

The contrast sits in the wording. On X, the Foundation called one of the paths an “unlikely RCE vector”, while still attaching a 9.2 score and an immediate-upgrade call. The trigger is also narrow: only apps that switch serialize_handler to php at runtime, a non-default configuration, can be affected. serialize_handler is the setting that decides which function turns objects into strings and back; it is not php by default. So for most sites running stock configuration, walking this path is improbable. The score is 9.2 because if the path is walked, the outcome is total loss of control. Low probability with high impact is still usually handled as “fix it now”.

Versions and the interim workaround

Versions and the interim workaround
Versions and the interim workaround|News screenshot

BranchFixed releaseWorkaround
8.58.5.12session.upload_progress.enabled=0
8.48.4.27same
8.38.3.36same
8.28.2.35same

The switch itself controls PHP’s upload-progress feature, which writes file-upload progress into the session so a front end can render a progress bar. Turning it off trades a feature downgrade for one less attack surface. Sites without an upload progress bar will likely notice nothing; sites that have one will see the bar stop working, which is a reasonable price. The Foundation adds that anyone who already disabled the setting for CVE-2026-109619 should keep it disabled.

Who should move now, who can schedule it

Who should move now, who can schedule it
Who should move now, who can schedule it|News screenshot

Upgrade now: anyone running mod_php in production, anyone exposing upload or session endpoints to the public internet, shared hosting and one-click panel deployments where code changes are awkward, and teams that cannot get a release window soon — patch first, or hold the line with the switch.

Can be scheduled: services that only run CLI scripts or background queues and never handle web requests sit outside the main blast radius. The patches exist, though, so folding them into the next maintenance window is cheap. Note that the source material lists fixed releases only for the 8.5, 8.4, 8.3 and 8.2 branches; deployments stuck on older branches are not covered here and should be looking seriously at migration.

After upgrading, check two things: whether session.upload_progress.enabled should be restored in php.ini, and whether serialize_handler is being changed at runtime by your app or framework.

Final word

Every so often PHP has to send an emergency update to remind the world it still runs much of the internet. The trigger conditions here are not especially loose, but the fact that an attack can land before application code runs shows that piling every defense into the app layer does not hold. You get one upgrade window; the switch is only a bridge.