PHP's Now-Patched Critical RCEs (CVE-2026-109618, CVE-2026-109619): What's Confirmed and What Isn't
Two critical PHP flaws, CVSS 9.2 each, leaked before PHP's October 21 fix shipped. What PHP has confirmed, what's still researcher-reported, and what to do now.

- PHP's own security team confirmed an out-of-band release for two critical vulnerabilities, both CVSS v4.0 9.2, scheduled for October 21, 2026 at 14:00 UTC, and shipped it on October 21 as PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, with advisories naming both CVEs and their mechanisms.
- The CVE IDs CVE-2026-109618 and CVE-2026-109619 first circulated through independent researchers (Sansec, Upwind, watchTowr) after the embargo leaked. PHP's October 21 advisories have since confirmed them: out-of-memory corruption (109618) and a use-after-free of stale request state reachable through session upload progress (109619).
- watchTowr says it reproduced one of the two bugs in a lab. Amazon Threat Intelligence has since reported exploitation attempts dating to October 17, 2026, four days before the fix, and broad exploitation attempts in the wild. CISA added both CVEs to its Known Exploited Vulnerabilities catalog on October 26, 2026.
- Disabling session.upload_progress in php.ini is a commonly recommended stopgap, but PHP's own advisory says it blocks only the confirmed session paths of CVE-2026-109619, not other variants. There is no config-only fix for this class of bug.
- A proof-of-concept exploit tool is already circulating publicly. We are not naming, linking to, or describing how it works while many deployments remain unpatched.
Most security advisories tell you what's wrong and how to fix it. This one is unusual because the two things arrived separately, and out of order. PHP's security team announced an emergency release for two critical bugs, both rated critical, but withheld every technical detail until the fix was ready. Then the CVE IDs leaked anyway, a day early, followed by a briefly published video of a working proof of concept. PHP shipped the fix on October 21, 2026. The gap between what PHP has confirmed and what independent researchers have reported is the most important thing to understand right now, because they are not the same list.
This report distinguishes two tiers of fact. Tier one: what PHP's own security team has stated, directly, in its official announcement. Tier two: what independent researchers (Sansec, Upwind, watchTowr) have reported after embargoed material leaked, before PHP's October 21 advisories confirmed most of it. We label every claim by tier. Where PHP's advisories have since confirmed a tier-two claim, we say so.
What PHP itself has actually said (tier one, confirmed)
PHP's security team posted an announcement on October 20, 2026, titled "Upcoming Critical PHP Security Release." The full operative text is short enough to quote directly:
“It addresses two critical vulnerabilities, both rated CVSS v4.0 9.2. Full details, affected versions, and the fixed versions will be published with the release. We reserve the right to release earlier should details of either vulnerability become public, or should evidence of active exploitation appear in the wild.”
That's it. No CVE numbers. No affected version list. No description of the bug class. PHP deliberately withheld those details, which is normal practice for a severe, unpatched vulnerability: publishing exploit-relevant specifics before a fix exists just hands attackers a head start. The release was scheduled for Wednesday, October 21, 2026, at 14:00 UTC.
What leaked, and who's reporting it (tier two, since largely confirmed by PHP)
The plan to withhold details didn't survive contact with the internet. According to multiple independent write-ups, information about the embargoed bugs leaked on October 20, a day before the scheduled release, followed by a briefly published video of a proof-of-concept exploit. Once that happened, several security research firms published their own analyses, and this is where the CVE numbers and technical details first came from.
| Detail | What's reported | Source and confidence |
|---|---|---|
| CVE identifiers | CVE-2026-109618 and CVE-2026-109619 | Multiple independent researchers; confirmed in PHP's October 21 advisories |
| Mechanism | Use-after-free bugs in php_session_rfc1867_callback, the function that tracks multipart file-upload progress | Reported by Upwind's technical analysis. PHP's advisories describe CVE-2026-109619 as a use-after-free of stale request state with session upload progress as a confirmed path, and CVE-2026-109618 as out-of-memory corruption during multipart parsing |
| Affected versions | Disputed. One researcher says all servers running PHP 5.4 or later; another says confirmed only on stock PHP 8.4.4 and 8.2.34; PHP's advisories list all versions below 8.2.35, 8.3.36, 8.4.27 and 8.5.12 as affected; 8.1 and older get no official release, only minimal source backports for 7.4 to 8.1 | Conflicting across sources; treat the "back to 5.x" claim as unverified |
| Exploitation in the wild | One research firm (Sansec) reported early attacks observed via Cloudflare; we could not independently verify a Cloudflare statement to that effect | Amazon Threat Intelligence has since reported attempts dating to October 17, 2026 and broad exploitation attempts in the wild; watchTowr says it reproduced one bug in a lab |
| Proof-of-concept availability | A public exploit tool is circulating | Confirmed to exist; we are not naming or linking it while many deployments remain unpatched |
Read that table as a confidence gradient, not a wall of equally solid facts. PHP's October 21 advisories have since confirmed the CVE numbers, the severity, and the fixed versions, and Amazon has reported exploitation attempts in the wild. The "back to 5.x" version claim still rests on thinner evidence. Don't make irreversible decisions, like taking production systems offline for days, based on the shakiest items in that list without also checking PHP's own advisories.
Why "just change a config setting" doesn't work here
Most PHP vulnerabilities can be partially contained with a config change while you wait to patch. This one is different, and that difference is the main reason it's gotten this much attention.
- PHP's advisories confirm the mechanisms (out-of-memory corruption in one bug, a use-after-free in the other), so this is a bug in PHP's own C code, not in how your application uses PHP. No amount of application-level validation reaches it.
- PHP core developer Gina Peter Banyard has publicly stated that patching is the only real mitigation, according to researcher write-ups of the leak, and PHP's October 21 advisory says the same: updating is the only complete fix.
- The commonly circulated stopgap, setting session.upload_progress.enabled to 0 in php.ini, blocks the confirmed session paths of CVE-2026-109619, but PHP itself says it does not block other variants.
- Because the vulnerable code reportedly runs during PHP's own request parsing, before your application code executes, request-level defenses like a WAF rule matching a specific exploit pattern can be evaded by variations the rule doesn't anticipate.
Treat every interim mitigation below as risk reduction, not a fix. The only thing that actually closes this is upgrading to the patched PHP release (8.5.12, 8.4.27, 8.3.36 or 8.2.35), and verifying the version actually changed on every host, container image, and serverless function running PHP.
What to actually do, right now
- Check what PHP version every internet-facing system you run is actually on. Not what you think it's on: actual runtime version, including inside containers and serverless functions, which often lag behind what's patched on the host.
- If you can take internet-facing PHP services offline or put them behind an authenticated access path until you can patch, that's the highest-confidence mitigation. Not every team can do this; if you can, it's worth the disruption for a CVSS 9.2 unauthenticated RCE.
- If you can't go offline: set session.upload_progress.enabled = 0 in php.ini, an FPM pool or server configuration (not ini_set() or .user.ini, per PHP) and restart every worker, as a partial stopgap, understanding it isn't guaranteed complete.
- If you're behind a CDN or WAF, check whether your provider has shipped rules targeting this vulnerability class and enable them, while treating any single vendor's rule as incomplete coverage rather than a fix.
- Patch now: PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 shipped on October 21, 2026. Don't wait for a maintenance window on a CVSS 9.2 unauthenticated RCE with public leak activity.
- If you're on PHP 8.1 or earlier, you are on an end-of-life branch and will not get an official release; PHP published only minimal source backports for 7.4, 8.0 and 8.1, and some distributions and LTS vendors ship their own fixes. Upgrading to a supported branch (8.2 or later) is the only real path off this exposure, for this bug and every future one.
# Check the actual running PHP version (not just what's installed)
php -v
# Check across all running containers using PHP
docker ps --format '{{.Names}}' | xargs -I{} docker exec {} php -v 2>/dev/null
# Check whether session.upload_progress is currently enabled
php -i | grep -i upload_progress
# Disable it as an interim stopgap (edit php.ini directly, then restart php-fpm / apache)
# session.upload_progress.enabled = 0
# Confirm the setting took effect
php -i | grep 'session.upload_progress.enabled'
# After patching, confirm the version actually changed everywhere
php -v | head -1If you were already exposed: what to hunt for
Because embargoed details leaked and a proof-of-concept exists, the responsible assumption for any internet-facing PHP system with a long uptime is that you may have been probed or worse, not just as of this week, but since at least October 17, when Amazon saw the first exploitation attempts, before the leak. If your systems handle anything sensitive, don't wait for a confirmed breach notification to start looking.
- Look for unexpected PHP files in upload directories, temp directories, or anywhere your application writes user-supplied content, especially files with recent modification times that don't correspond to a known deploy.
- Check for new or modified admin users across any system with a PHP-based admin panel (CMS platforms, e-commerce backends, internal tools).
- Review outbound connections from PHP worker processes for anything unexpected: unfamiliar destinations, unusual ports, or connections initiated outside normal application behavior.
- Check web server and PHP-FPM error logs for repeated crashes or worker restarts around the same request pattern. Researchers have noted that exploit attempts against this bug class can take down the PHP worker, and Fastly points to worker-crash entries in PHP-FPM and Apache error logs as a signal worth investigating.
- If you have WAF or CDN logs, look for unusual multipart/form-data POST requests, particularly ones with malformed or oversized boundaries, which is the general shape of request this vulnerability class interacts with.
The bigger picture
PHP still runs a large share of the web. With PHP's own advisories now published, a CVSS 9.2 unauthenticated RCE in the interpreter itself, not in a plugin or a specific application, is as serious as this category of bug gets. The embargo leak is its own lesson: coordinated disclosure exists precisely to give defenders a head start over attackers, and when that head start gets cut short, the sensible response isn't panic, it's falling back to the things that work regardless of exact technical details: know your exposure, reduce it where you can, patch the moment a real fix exists, and verify rather than assume. Updated October 31, 2026: PHP's official release and advisories are out, and this piece now reflects the confirmed CVE mappings, affected versions, and fixed versions.
Frequently asked questions
What are CVE-2026-109618 and CVE-2026-109619?
+
Is there a fix for these PHP vulnerabilities?
+
What PHP versions are affected?
+
Is this vulnerability being actively exploited?
+
Does disabling session.upload_progress fix the vulnerability?
+
Is there a public exploit for these PHP vulnerabilities?
+
Sources
- https://www.php.net/archive/2026.php#2026-10-20-1
- https://www.php.net/archive/2026.php#2026-10-21-5
- https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w
- https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp
- https://cveawg.mitre.org/api/cve/CVE-2026-109619
- https://www.php.net/supported-versions.php
- https://www.php.net/eol.php
- https://www.openwall.com/lists/oss-security/2026/10/20/34
- https://bleepingcomputer.com/news/security/php-warns-admins-of-two-critical-flaws-emergency-patches-coming-tomorrow
- https://bleepingcomputer.com/news/security/php-ships-emergency-patches-for-critical-php2shell-flaws
- https://blog.qualys.com/vulnerabilities-threat-research/2026/10/20/php-announces-critical-security-release-for-two-vulnerabilities
- https://www.fastly.com/blog/how-fastly-detected-and-built-a-coordinated-response-to-php2shell
- https://aws.amazon.com/blogs/security/amazon-threat-intelligence-identifies-php2shell-exploitation-prior-to-public-disclosure-in-madpot/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog