A PHP worker serves one request after another, and between them the interpreter is supposed to reset every piece of global state that pointed into the last request’s memory. The PHP project’s second advisory of 21 October 2026 found places where that reset is skipped, or where the global is repopulated after it was reset, so a pointer into freed request memory survives into the next request and is read before it is reinitialised. The project turned that into working remote code execution against both Apache mod_php and PHP-FPM, through the session upload-progress feature that is enabled by default. CISA lists it as exploited. If you run PHP 8.2 below 8.2.35, 8.3 below 8.3.36, 8.4 below 8.4.27 or 8.5 below 8.5.12 on anything reachable from the network, upgrade now and restart every PHP worker; if you cannot yet, turn off session.upload_progress and, on 8.5, fatal_error_backtraces. This page shows how to find the serving PHP, which of the three triggers applies to your setup, how to upgrade, and what the mitigations do and do not cover.
CVE-2026-109619 at a glance.
| Component | The PHP interpreter’s per-request global state: the fatal-error backtrace global on PHP 8.5, the session upload-progress lifecycle (on by default in every supported version), and the early INI consumers reached through Apache php_value/.htaccess directives or FPM’s PHP_VALUE from the frontend. Affects mod_php and PHP-FPM (both with validated exploits), LSAPI conditionally; FrankenPHP has no established early consumer in its default setup. The command-line SAPI is not mentioned |
| Affected versions | PHP 8.2 below 8.2.35, 8.3 below 8.3.36, 8.4 below 8.4.27 and 8.5 below 8.5.12 (PHP advisory GHSA-6wmf-4rv5-p3rp). PHP 8.1 and older are out of upstream support; the distributions that still ship 8.1 and 8.2 have backported the fix |
| Fixed in | PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12, published with the advisory on 21 October 2026; distribution packages in the table below |
| Severity | CVSS 4.0 9.2 Critical from the PHP CNA (AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H); NVD’s own CVSS 3.1 is 8.1 High (AC:H), and Red Hat’s matches at 8.1, with a statement that the exploitation conditions keep it below Critical. Ubuntu priority Critical. CWE-416 use after free, with CWE-755, CWE-824, CWE-1325 and CWE-1419 also listed |
| Exploited in the wild | On CISA’s Known Exploited Vulnerabilities catalogue, added 26 October 2026; federal remediation was due 29 October 2026. Ransomware use is recorded as Unknown. EPSS 0.208 (98.1st percentile) on 25 November 2026 |
| Who is exposed | any web server running an affected PHP that accepts requests from the internet; no account is needed. The session upload-progress path is on by default and the project validated it against both mod_php and FPM, the FPM case needing a normal dynamic pool and a suitable operation in the application. Not affected: 8.2.35, 8.3.36, 8.4.27, 8.5.12 and later, and the distribution packages in the table |
| Published | CVE record 21 October 2026; this page built 29 November 2026, last updated 29 November 2026 |
What it is
PHP’s web SAPIs are long-lived processes: a mod_php child or an FPM worker starts once and then handles requests in a loop, allocating each request’s memory from a per-request arena that is torn down at the end. A number of interpreter globals temporarily point into that arena during a request, and the contract is that request shutdown resets them before the arena goes. The advisory’s finding is that in several places the reset does not happen, or happens and is then undone by something that runs later in shutdown and repopulates the global. The next request starts with a global that points into memory that has been freed and will shortly be reused, and if that global is consulted before the code that normally initialises it has run, the interpreter reads attacker-influenced bytes where it expected its own state. That is CWE-416 and CWE-824 in one motion, and the five CWE identifiers on the record describe the same chain as the companion advisory.
The project names three ways in. The first is PHP 8.5’s fatal_error_backtraces feature, whose global is the confirmed case and the basis of the confirmed mod_php exploitation. The second is the session upload-progress lifecycle, session.upload_progress.enabled, which is on by default in every supported version and which the project exploited to code execution against both mod_php and PHP-FPM; the FPM exploit works with an ordinary dynamic pool but needs a suitable operation in the application to complete. The third is what the advisory calls early INI consumers: configuration that is applied to the request before the interpreter is fully set up, which Apache reaches through php_value and php_admin_value directives including .htaccess, and which FPM reaches only if the frontend passes PHP_VALUE or PHP_ADMIN_VALUE through FastCGI. Red Hat’s reading is the same: mod_php affected, FPM conditionally affected. The fix shipped in all four branches alongside CVE-2026-109618 on 21 October 2026, with the same reporters and the same remediation team.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 29 November 2026; the link in the row is the tracker page, which will be newer than this one. The fixed packages are the same builds that fix CVE-2026-109618.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted | — |
| Debian | Fixed: DLA-4848-1 (bookworm php8.2), DSA-6574-1 (trixie php8.4); forky and sid fixed at 8.4.28-3 | bookworm php8.2 8.2.35-1~deb12u1, trixie php8.4 8.4.27-1~deb13u1 |
| Ubuntu | Priority Critical; fixed on every supported release (USN-8948-1 and -2, 21 October 2026) | 26.10 php8.5 8.5.9-0ubuntu2.1, 26.04 php8.5 8.5.4-0ubuntu1.5, 24.04 php8.3 8.3.6-0ubuntu0.24.04.13, 22.04 php8.1 8.1.2-1ubuntu2.28 |
| RHEL, Rocky, Alma, CentOS Stream | CVSS 3.1 8.1, bulletin RHSB-2026-013; mod_php affected, FPM conditionally affected. The CVE page as read listed no per-stream errata | see the Red Hat page for the php module errata per stream |
| Fedora, openSUSE/SLE, Arch | Not consulted | — |
| Upstream tarballs, official Docker images, ondrej/php PPA, Remi | Affected below the fixed releases | PHP 8.2.35, 8.3.36, 8.4.27 or 8.5.12 |
How to check
Three questions: which PHP is serving requests, which of the three triggers your configuration leaves open, and whether the frontend passes INI values through to FPM. The second is the one that distinguishes this CVE from its sibling: the settings below decide which exploit path exists on your box.
# 1. the serving PHP (the CLI can be a different version)
php-fpm8.3 -v 2>/dev/null | head -1; php-fpm -v 2>/dev/null | head -1
apachectl -M 2>/dev/null | grep -i php; httpd -M 2>/dev/null | grep -i php
dpkg -l 'php8*' 2>/dev/null | awk '/^ii/ && $2 ~ /^php8\.[0-9]+(-fpm|$)/{print $2, $3}'; rpm -q php php-fpm 2>/dev/null
# 2. the three triggers, as the web SAPI sees them
php -i 2>/dev/null | grep -E '^(session\.upload_progress\.enabled|fatal_error_backtraces|session\.save_handler)'
grep -rhE '^\s*(fatal_error_backtraces|session\.upload_progress\.enabled)' /etc/php /etc/php.ini /etc/php.d /etc/php-fpm.d 2>/dev/null
# 3. early INI consumers: Apache directives and .htaccess, or PHP_VALUE passed to FPM by the frontend
grep -rhE 'php_(admin_)?value|php_(admin_)?flag' /etc/apache2 /etc/httpd 2>/dev/null | head
sudo find /var/www /srv/www -name .htaccess -exec grep -lE 'php_(admin_)?(value|flag)' {} + 2>/dev/null
grep -rhE 'PHP_(ADMIN_)?VALUE' /etc/nginx /etc/apache2 /etc/httpd /etc/php*/*/fpm/pool.d /etc/php-fpm.d 2>/dev/null | headIf step 1 shows a fixed version for every serving PHP, you are done. If not, step 2 tells you how exposed you are while you arrange the upgrade: session.upload_progress.enabled => On is the default and is the path the project exploited on both SAPIs, so expect to see it; fatal_error_backtraces only exists on 8.5 and is the confirmed mod_php case. Step 3 decides whether the third path is open: on Apache with mod_php it is open whenever any php_value directive is in use, and a site that lets users upload .htaccess files has handed them the trigger; on FPM it is closed unless your nginx or Apache configuration explicitly passes PHP_VALUE through FastCGI.
Because this one is on the KEV list, look back. The project’s own detection advice is to audit the logs with log_errors on and error_reporting at E_ALL, because the exploit paths run through fatal errors and pre-initialisation diagnostics; fatal errors that your application does not normally produce, worker crashes, and session upload-progress keys from clients that never upload anything are the signals.
# fatal errors and crashes since the advisory
sudo grep -hE 'PHP Fatal error|exited on signal 11|SIGSEGV|segmentation fault' \
/var/log/php*-fpm.log /var/log/php-fpm/*.log /var/log/apache2/error.log /var/log/httpd/error_log 2>/dev/null | tail -50
sudo journalctl -k --since '2026-10-15' | grep -iE 'segfault.*(php|apache2|httpd)'
# upload-progress probing: the default key is PHP_SESSION_UPLOAD_PROGRESS in a multipart POST
sudo zgrep -h 'PHP_SESSION_UPLOAD_PROGRESS' /var/log/nginx/access.log* /var/log/apache2/access.log* 2>/dev/null | tail
sudo grep -l 'upload_progress' /var/lib/php/sessions/sess_* /var/lib/php/session/sess_* 2>/dev/null | head
# the usual aftermath
sudo find /var/www /srv/www -name '*.php' -newermt '2026-10-21' -type f 2>/dev/null | head -50
ps -u www-data -u apache -o pid,etime,comm,args 2>/dev/null | grep -vE 'php-fpm|apache2|httpd|ps'Session files containing upload-progress entries on a site that has no upload form, a burst of fatal errors from one client, or a PHP file in the web root you did not deploy are not false positives. The web worker’s credentials are the application’s credentials, so rotate database passwords and API keys as well as rebuilding the host; Restoring a Linux Server covers the rebuild.
How to fix it
Upgrade the PHP packages and restart every worker. The same package update fixes CVE-2026-109618, so if you did that on 21 October you are done here too; if you did not, one run covers both.
# Debian/Ubuntu
sudo apt-get update && sudo apt-get install --only-upgrade 'php8.*'
sudo systemctl restart 'php*-fpm' apache2 2>/dev/null
# RHEL family
sudo dnf update 'php*' && sudo systemctl restart php-fpm httpd 2>/dev/null
# Alpine
apk upgrade 'php8*' && rc-service php-fpm8 restart
# Docker: rebuild FROM php:8.3.36-fpm (or 8.2.35 / 8.4.27 / 8.5.12) and redeploy
# confirm the serving SAPI
php-fpm8.3 -v 2>/dev/null | head -1; php-fpm -v 2>/dev/null | head -1Unlike its sibling, this CVE has mitigations the project describes as closing specific paths rather than merely narrowing them, though it still calls updating the only reliable fix. Turning off session upload progress removes the path with the validated exploits on both SAPIs; on 8.5, turning off fatal error backtraces removes the confirmed mod_php case. Both are administrative INI settings, must be set where user code cannot override them, and take effect only after all workers restart. The advisory also suggests removing reachable fatal errors and pre-initialisation diagnostics from your application, treating timeouts as fatal, and considering pm.max_requests = 1 on FPM so that no worker ever serves a second request, at an obvious cost in throughput.
# a conf.d drop-in that user code cannot override, then restart the workers
printf 'session.upload_progress.enabled = 0\n' | sudo tee /etc/php/8.3/fpm/conf.d/99-cve-2026-109619.ini # Debian/Ubuntu path; use /etc/php.d/ on RHEL
# PHP 8.5 only
printf 'fatal_error_backtraces = 0\n' | sudo tee -a /etc/php/8.5/fpm/conf.d/99-cve-2026-109619.ini
# FPM pools can also pin it per pool: php_admin_value[session.upload_progress.enabled] = 0
sudo systemctl restart 'php*-fpm' apache2 2>/dev/null
php -i | grep -E '^(session\.upload_progress\.enabled|fatal_error_backtraces)' # must say Off / 0Do not set the mitigation with ini_set() in application code or in a .htaccess file and call it done: the third trigger is INI handling that runs before the request is fully set up, so a user-overridable setting is both too late and, on mod_php, itself a way in. Do not assume FPM is out of scope because Red Hat’s phrasing is “conditionally affected”; the condition for the upload-progress path is a default setting plus an ordinary application, and the project exploited it. And do not treat this as a second copy of CVE-2026-109618: the package fix is shared, but the triggers and the mitigations are different, and a server mitigated against one is not mitigated against the other.
Sources
- CVE-2026-109619 at CVE.org — the PHP CNA record: description, affected ranges, CVSS 4.0 9.2, the five CWE identifiers (published 21 October 2026)
- NVD — status Analyzed, NVD’s own CVSS 3.1 8.1, KEV dates (last modified 24 November 2026)
- CISA Known Exploited Vulnerabilities — added 26 October 2026, action due 29 October 2026
- PHP advisory GHSA-6wmf-4rv5-p3rp, “RCE via stale global state” — the mechanism, the three triggers, the per-SAPI findings, the mitigations and the detection advice, credits (21 October 2026)
- PHP advisory GHSA-w8hw-w9fx-j79w — the companion advisory for CVE-2026-109618, fixed in the same releases
- Distribution trackers: Debian, Ubuntu, Red Hat — status, fixed versions and the SAPI statements as of 29 November 2026
- EPSS — 0.208, 98.1st percentile, scored 25 November 2026
Related reading
- CVE-2026-109618: PHP out-of-memory handling leaves request memory uninitialised — the sibling advisory, fixed by the same packages but with different triggers and mitigations
- Set Up a LEMP Stack: Nginx, MariaDB and PHP — the FPM pool layout, and where a
php_admin_valuebelongs - The Life of a Reload: Seven Steps Between Saving a File and a Process Using It — why an INI change does nothing until the workers that read it restart
- The Half of Patching That Happens After the Patch is Installed — restarting every worker, including the ones you forgot were PHP
- Reading Linux Logs: journalctl and the Files It Did Not Replace — the PHP and web-server logs the look-back commands read
- Hardening a Public-Facing Service Beyond the Basics — bounding what the web user can reach
This advisory page was assembled from the primary sources listed above on 29 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

