Skip to content
PHP Core RCE Vulnerabilities Patched: Upgrade to 8.2.35, 8.3.36, 8.4.27, 8.5.12 Now

PHP Core RCE Vulnerabilities Patched: Upgrade to 8.2.35, 8.3.36, 8.4.27, 8.5.12 Now

PHP has released security patches for two critical remote code execution vulnerabilities (CVE-2026-109618 and CVE-2026-109619) affecting all web-facing PHP deployments including PHP-FPM, Apache mod_php, FrankenPHP, LiteSpeed, and php-cgi; users must immediately upgrade to versions 8.2.35, 8.3.36, 8.4.27, or 8.5.12 and restart processes.

Open Source Tech Hub
Open Source Tech Hub
Open Source Tech Hub

Official Source

Official source : php.net/index.php#2026-10-21-5<br/> Release team : PHP Development Team and Security Team (The PHP Group)<br/> Release time : 2026-10-21 14:00 UTC (Beijing time 22:00)

Full Advisory Translation

The PHP security team has officially released a security advisory announcing fixes for two severe vulnerabilities affecting the PHP core. Both vulnerabilities allow unauthenticated remote attackers to execute arbitrary code on the target server (Pre-Auth RCE).

Under the CVSS v4.0 scoring standard, both vulnerabilities are rated 9.2 (Critical) .

Given that technical details and proof-of-concept (PoC) code for these vulnerabilities were previously leaked in public channels, and automated scanning and exploitation threats are currently very high, the PHP team strongly urges all system administrators and users running PHP to immediately upgrade to the latest security patch versions released today.

I. Vulnerability Details and Identifiers

1. CVE-2026-109618 (GHSA-w8hw-w9fx-j79w)

Type : Memory exhaustion (OOM) data corruption leading to remote code execution

Description : When PHP processes an internal request and related structures are only partially initialized, an out-of-memory condition interrupts memory allocation. This causes the request cleanup process to malfunction, treating uninitialized illegal memory as legitimate objects and data for parsing and destruction, ultimately triggering arbitrary code execution.

2. CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp)

Type : Stale global state residue leading to remote code execution

Description : The internal global state belonging to a web request persists after its memory is freed. When the same worker process handles a subsequent request, this stale state may be reused and processed before the normal reset procedure, resulting in unauthorized state pollution and code execution.

II. Affected Deployment Environments

The vulnerabilities affect all PHP installations used to serve external web requests , including:

PHP-FPM

Apache mod_php (highest threat rating due to its multi-threaded/process nature)

FrankenPHP

LiteSpeed

php-cgi

Note: Because the vulnerabilities trigger in the PHP engine layer before the request reaches application code, application-level code changes alone cannot defend against attacks.

III. Officially Released Patched Versions

Official security patch versions for the following maintenance branches have been synchronized to the download center and source repositories:

PHP 8.5 series : 8.5.12 released

PHP 8.4 series : 8.4.27 released

PHP 8.3 series : 8.3.36 released

PHP 8.2 series : 8.2.35 released

Source packages, Windows binaries, and signature files for each version are available on the PHP official download center.

IV. End-of-Life (EOL) Versions Notice

PHP 8.1, 8.0, and PHP 7.x, 5.x are all in End of Life (EOL) status. The PHP project will not release official pre-compiled binaries or regular maintenance versions for these branches.

To mitigate impact on widespread legacy systems, the security team has provided minimal backport patches in the official Git repository for users who compile from source and for third-party Linux long-term support (LTS) distribution maintainers.

Despite the availability of backport patches, the project strongly urges all users to plan and migrate to officially supported active branches (PHP 8.2+) as soon as possible.

V. Action Guide and Checklist

Update immediately : Use your system package manager (e.g., apt-get, dnf / yum) or pull the latest built base Docker images to update.

Restart processes without fail : After updating underlying binaries, you must restart the web server and PHP handler processes (e.g., systemctl restart php-fpm or systemctl restart apache2) to ensure old resident worker processes exit completely and load the patched version.

VI. References and Resources

PHP Official Security Advisory

https://www.php.net/index.php#2026-10-21-5

PHP Official Download Center

https://www.php.net/downloads.php

Release Notes for Patched Versions

PHP 8.5.12 Release Notes: https://www.php.net/index.php#2026-10-21-1

PHP 8.4.27 Release Notes: https://www.php.net/index.php#2026-10-21-2

PHP 8.3.36 Release Notes: https://www.php.net/index.php#2026-10-21-3

PHP 8.2.35 Release Notes: https://www.php.net/index.php#2026-10-21-4

GitHub Advisory Database

CVE-2026-109618: https://github.com/advisories/GHSA-w8hw-w9fx-j79w

CVE-2026-109619: https://github.com/advisories/GHSA-6wmf-4rv5-p3rp

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

PHPUpgradeRCESecurity PatchPHP-FPMCVE-2026-109618CVE-2026-109619Apache mod_php
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.