PHP patches seven critical flaws, including two routes to remote code execution
The PHP project released security updates on 19 November for versions 8.2, 8.3, 8.4 and 8.5, fixing 17 PHP security advisories; seven flaws are rated critical. The PHP Foundation’s updates address vulnerabilities that can expose session data or PHP-FPM to remote code execution under specific conditions, while Red Hat says most of the seven severe flaws allow unauthenticated attackers to run code as the PHP worker.
Bottom line — Update to PHP 8.2.36, 8.3.37, 8.4.28 or 8.5.13; Semgrep also lists PHP 8.6.0 as fixed.
Go deeper 6
-
watchTowr says the session-file flaw, CVE-2026-126714, can mix old and new data if a write is interrupted; a suitable code chain may turn that into code execution.
-
Semgrep describes CVE-2026-115560 as a session-serializer mismatch: attacker-influenced upload data can be read as objects if applications sharing session storage use different formats.
-
The PHP project recommended disabling session upload progress as a temporary safeguard, according to Semgrep; it is not a substitute for upgrading.
-
HKCERT reports that proof-of-concept code is publicly available for CVE-2026-126714 and CVE-2026-115560.
-
watchTowr and Monarx report no known in-the-wild exploitation of these two session vulnerabilities as of their publication dates.
-
Red Hat says PHP 8.5-only flaws among the seven severe vulnerabilities do not affect PHP 8.5 packages shipped in Red Hat Enterprise Linux.