phpatch.com

← phpatch.com home

Security advisory: Critical remote code execution vulnerabilities, update now

Critical · CVSS 9.2 · fetched 2026-10-22

PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two critical vulnerabilities that can allow unauthenticated remote code execution. All PHP users are strongly encouraged to update immediately. Who is at risk: all PHP installations serving web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. We consider the risk highest for mod_php, with a demonstrated exploit where an unauthenticated request can trigger the attack before any application code runs.

Our analysis

Who is affected

The source advisory enumerates the affected branches directly:

At least one affected branch is end-of-life: it will never receive a fixed release, so for anyone still on it the remediation is a branch upgrade, not a patch.

Exploitation status

Not KEV-listed in this record. In the source data for this record (retrieved 2026-10-22), the vulnerability was not listed in the CISA Known Exploited Vulnerabilities catalog. Read that narrowly: it means no catalogued exploitation at retrieval time, not that exploitation is impossible or unreported elsewhere.

Patch priority

Patch immediately — within 24 to 72 hours. The drivers for this record: the source rates it Critical; CVSS 9.2; an affected branch is end-of-life with no fixed release. Until it is applied, restrict network exposure of the affected service where you can and check the source advisory for any vendor workaround.

How this verdict is derived: from the fields on this page — the source advisory's severity and CVSS score, CISA KEV listing status and the affected-branch data — as retrieved 2026-10-22. It is a triage aid, not a substitute for the source advisory.

Remediation

Update PHP to the fixed release for your branch (8.2.35, 8.3.36, 8.4.27, 8.5.12). Branches below 8.2 have no fixed release — upgrade the branch or take the site offline.

Affected PHP branches

PHP 8.2 — fixed in 8.2.35 (patched release available); PHP 8.3 — fixed in 8.3.36 (patched release available); PHP 8.4 — fixed in 8.4.27 (patched release available); PHP 8.5 — fixed in 8.5.12 (patched release available); PHP <8.2 — end-of-life — no fixed release; branch upgrade required

Check your site

Source: PHP.net News · retrieved 2026-10-22T10:19:14-04:00 · https://www.php.net/index.php#2026-10-21-5

← All threats