Am I affected?
CVE-2026-109619
PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated after being reset. The global state may then refer to request memory even after it has been freed. Subsequent requests may read or branch on this stale state before it is fully initialized. Multiple strategies can trigger this condition and produce remote code execution (RCE).
Exploit probability (FIRST EPSS): >99.9% chance of exploitation activity in the next 30 days (top 1% of all scored CVEs), scored 2026-11-23. EPSS is a likelihood estimate, not proof of attacks.
php.net security advisory: RCE via stale global state
Often called “PHP2Shell” in news coverage (not an official php.net name).
Published by php.net on 2026-10-21. Fixed in PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35. PHP 8.1 and older get no official release; php.net points to distribution/LTS vendor backports.
If you cannot update right away (php.net says these reduce exposure but do not make you safe):
- Set session.upload_progress.enabled=0 in php.ini or the FPM pool (not ini_set() or .user.ini) and restart every worker.
- On PHP 8.5, set fatal_error_backtraces=0 and restart every worker.
- Fix attacker-reachable fatal errors and execution timeouts in your application.
Sources: php.net advisory · GHSA-6wmf-4rv5-p3rp · Fixed together with CVE-2026-109618
Check your PHP version
Fixed versions by branch
| Branch | Affected (php.net) | Fixed in |
|---|---|---|
| PHP 8.5 | PHP 8.5 only, 8.5.0 (including) to 8.5.12 (excluding) | 8.5.12 |
| PHP 8.4 | PHP 8.4 only, 8.4.0 (including) to 8.4.27 (excluding) | 8.4.27 |
| PHP 8.3 | PHP 8.3 only, 8.3.0 (including) to 8.3.36 (excluding) | 8.3.36 |
| PHP 8.2 | PHP 8.2 only, 8.2.0 (including) to 8.2.35 (excluding) | 8.2.35 |
"Fixed in" is shown only when the source gives an exact upper bound. Any later patch in the same branch also has the fix. Linux distributions (Ubuntu, Debian, RHEL) often backport fixes without changing the PHP version number.
Related CVEs
Other PHP CVEs that NVD lists for the same branches.
- CVE-2026-109618 Critical 9.8 · PHP 8.5, 8.4, 8.3, 8.2, 8.1, 8.0, 7.4, 7.3 · 2026-10-21
- CVE-2024-5458 Medium 5.3 · PHP 8.3, 8.2, 8.1, 8.0, 7.4, 7.3 · 2024-06-09
- CVE-2022-37454 Critical 9.8 · PHP 8.1, 8.0, 7.4, 7.3, 7.2 · 2022-10-21
- CVE-2019-9020 Critical 9.8 · PHP 7.3, 7.2, 7.1, 7.0, 5.6 · 2019-02-22
- CVE-2019-9021 Critical 9.8 · PHP 7.3, 7.2, 7.1, 7.0, 5.6 · 2019-02-22
- CVE-2019-9023 Critical 9.8 · PHP 7.3, 7.2, 7.1, 7.0, 5.6 · 2019-02-22
Questions
- Which PHP versions are affected by CVE-2026-109619?
- php.net lists these affected ranges: PHP 8.5 only, 8.5.0 (including) to 8.5.12 (excluding); PHP 8.4 only, 8.4.0 (including) to 8.4.27 (excluding); PHP 8.3 only, 8.3.0 (including) to 8.3.36 (excluding); PHP 8.2 only, 8.2.0 (including) to 8.2.35 (excluding).
- Which PHP version fixes CVE-2026-109619?
- According to php.net, the fix is in PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35 (upgrade to that release or any later patch in the same branch).
- Does a version check prove my server is safe from CVE-2026-109619?
- No. The SAPI, web server, operating system, loaded extensions and configuration change whether a bug can be reached, and Linux distributions often backport fixes without changing the upstream version number.
Sources: CVE-2026-109619 on NIST NVD and the php.net ChangeLog. NVD data synced 2026-11-24T03:47:46.548Z. See all PHP CVEs in the CVE explorer.