Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

PHP2Shell: CVE-2026-109619 and CVE-2026-129481

CVE-2026-109619 is PHP's PHP2Shell stale-state RCE flaw, rated 9.2 Critical on CVSS 4.0.

Reviewed by
Brandefense Analyst Team
Published
Updated
Reading Time
5 min read
CVE ID
CVE-2026-109619
Vendor
PHP Group
Affected Product
PHP (core)
Exploitation
Listed in CISA KEV
Published
21 October 2026

PHP's 19 November advisory calls CVE-2026-129481 an incomplete fix: interrupted session shutdown can retain a request-owned filename pointer into the next request on the same worker. This use-after-free may corrupt memory or crash a worker; RCE through this specific field has not been demonstrated. PHP 8.3.37, 8.4.28 and 8.5.13 fix the new path; PHP 8.2 lacks the affected field.

What it allows

PHP says the two PHP2Shell flaws can allow unauthenticated remote code execution. For this one, the GitHub advisory says PHP keeps global state such as error, session, object and extension state. That state can stay in a persistent worker and point to memory owned by a finished request.

A fatal error, such as an uncaught error or a timeout, can interrupt an operation before it resets its state. A later request on the same worker can then read the stale state, for example while PHP applies INI settings or handles session upload progress. The original CVE-2026-109619 advisory confirms two cases: the PHP 8.5 fatal error backtrace path, and session upload progress after an out-of-memory or other fatal error.

The advisory describes an unauthenticated heap use-after-free that can run code with the web worker's privileges.

PHP's release text does not report exploitation. NCSC-NL reports that a public proof of concept is available, and Sansec reports early attacks seen by Cloudflare on 21 October. CISA added this CVE to its Known Exploited Vulnerabilities catalog on 26 October, with a due date of 29 October and known ransomware campaign use listed as "Unknown".

Read the PHP2Shell analysis for the full picture. The first flaw is covered on the CVE-2026-109618 page.

In a note on 23 October, PHP named a separate id, CVE-2026-115560, for a related session upload progress path.

Check Point Research documented a gateway intrusion in which PHP2Shell initial access was followed by CVE-2026-123039 DynamicCLI privilege escalation. Its report does not isolate which PHP2Shell CVE each attempt used.

PHP's 19 November advisory identifies CVE-2026-129481 as an incomplete fix in a different session shutdown path. A fatal error during application cleanup can leave a filename pointer in a reused PHP worker after request memory is freed. A later request handled by that worker can release the stale string. The advisory says this may corrupt memory or crash a worker. It says RCE is possible, but code execution through this field has not been demonstrated. The demonstrated case used PHP-FPM with OPcache disabled; exploitability depends on whether the filename was request-owned.

From 21 August to 19 November 2026, Brandefense Blackhole counted 307 dark-chat entries naming CVE-2026-109619. A separate GitHub repository search for CVE-2026-109619 or CVE-2026-129481 returned 759 results. These are dark-chat entry and repository-search counts, not distinct incidents or proof that CVE-2026-129481 has been exploited; the underlying discussion may overlap.

Who is affected

PHP's original CVE-2026-109619 advisory lists releases before 8.2.35, 8.3.36, 8.4.27 and 8.5.12 as affected. PHP's 19 November advisory identifies the separate CVE-2026-129481 session shutdown path in PHP 8.3.0 to before 8.3.37, 8.4.0 to before 8.4.28, and 8.5.0 to before 8.5.13. PHP 8.2 does not contain the affected session filename field. An October fix on PHP 8.3, 8.4 or 8.5 therefore does not close the newly disclosed path.

The new advisory demonstrates the flaw in PHP-FPM when OPcache is disabled and the recorded filename belongs to request memory. It says enabling OPcache alone is not a reliable mitigation, because scripts can still run without being cached. Requests must reach the same worker but need not belong to the same user or session. Application cleanup must reach the failure condition; authentication requirements depend on that application path.

PHP says 8.1 and older receive no project update and points to vendor backports for the original flaw. Palo Alto Networks separately lists PAN-OS and Panorama as affected downstream by the earlier PHP2Shell issue; see our Palo Alto product status post. That product status does not establish whether the new session filename path is present in a vendor build.

Timeline

  1. 20 Oct 2026

    The PHP security team announces a security release for two critical flaws, both rated 9.2 on CVSS v4.0.

  2. 20 Oct 2026

    CERT-EU advisory 2026-018 names CVE-2026-109618 and CVE-2026-109619.

  3. 21 Oct 2026

    PHP publishes the GitHub advisory GHSA-6wmf-4rv5-p3rp and releases PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35.

  4. 21 Oct 2026

    PHP says 8.1 and older get no update from the PHP project and points to vendor backports. Our PHP2Shell timeline of the first 36 hours follows the first attacks and the public reaction.

  5. 26 Oct 2026

    CISA adds the CVE to its Known Exploited Vulnerabilities catalog with a due date of 29 October. It lists known ransomware campaign use as "Unknown" and marks forensic triage as required.

  6. 27 Oct 2026

    Wiz Research publishes a status report. It says it has not yet seen successful end-to-end exploitation in its own telemetry. It also reports about a 67% fall in distinct internet-exposed machines vulnerable to PHP2Shell since disclosure. See our main PHP2Shell analysis.

  7. 28 Oct 2026

    Palo Alto's advisory says active exploitation has been observed targeting the PAN-OS management interface when it is exposed to the internet, and rates the issue Critical. See our PAN-OS hotfix dates.

  8. 19 Nov 2026

    PHP publishes CVE-2026-129481 as an incomplete fix for CVE-2026-109619. Its advisory lists PHP 8.3.37, 8.4.28 and 8.5.13 as fixed for the separate session shutdown path; PHP 8.2 lacks the affected field.

What to do

  1. Update PHP

    For PHP 8.3, 8.4 and 8.5, install 8.3.37, 8.4.28 or 8.5.13, respectively, or a vendor package carrying the new fix. PHP 8.2.35 fixes the original CVE on that branch; PHP 8.2 lacks the new affected field.

  2. Find every PHP runtime

    List servers, containers, control panels and appliances that run PHP, with the version of the binary your web server really uses. Start with the ones reachable from the internet.

  3. Reduce exposure if you cannot update

    Until the new update is installed, avoid fatal errors in callbacks reached during session cleanup. For PHP-FPM, PHP says pm.max_requests=1 plus a worker restart prevents the demonstrated two-request sequence at a performance cost. Disabling session upload progress and enabling OPcache alone do not address this path.

  4. Restart and confirm

    Restart PHP-FPM or the web server so workers load the patched code. For each active PHP-FPM pool, identify the PHP binary serving web requests and check that binary's version (for example, run its full path with `-v`); compare it with the 8.3.37, 8.4.28 or 8.5.13 fix, as applicable, and verify vendor backports for packaged runtimes. A check that covers only CVE-2026-109618/109619 or October fixes cannot clear CVE-2026-129481.

  5. Look for signs of abuse

    Review repeated PHP worker crashes or abnormal process exits around session cleanup, then correlate with application errors. Existing PHP2Shell intrusion guidance remains relevant to the original CVE; do not attribute a suspected incident to the new path without evidence.

What Brandefense can do

Frequently Asked Questions

What is CVE-2026-109619?

It is PHP's critical stale-global-state flaw, rated 9.2 on CVSS 4.0. PHP later assigned CVE-2026-129481 to an incomplete fix in a separate session shutdown path.

Which PHP versions fix CVE-2026-109619 and CVE-2026-129481?

The original CVE-2026-109619 fixes are 8.2.35, 8.3.36, 8.4.27 and 8.5.12. For the separate CVE-2026-129481 path, update 8.3 to 8.3.37, 8.4 to 8.4.28 or 8.5 to 8.5.13. PHP 8.2 lacks the affected field.

Does turning off session upload progress fix it?

No. PHP says disabling session upload progress blocks an original confirmed path, but it does not address the newly disclosed CVE-2026-129481 shutdown path. Upgrade to the fixed branch release.

How does it differ from CVE-2026-109618?

CVE-2026-109619 comes from request state that outlives its memory. CVE-2026-109618 comes from out-of-memory handling that leaves request data invalid. See the CVE-2026-109618 page.

Does CVE-2026-129481 demonstrate remote code execution?

PHP reports a use-after-free that may corrupt memory or crash a reused worker. It says remote code execution could be possible, but code execution through this specific field has not been demonstrated.

Sources

  1. Security advisory: Critical remote code execution vulnerabilities, update now (21 October 2026)PHP.net
  2. RCE via stale global stateGitHub
  3. Use-after-free after interrupted session shutdown (19 November 2026)PHP security advisory on GitHub
  4. PHP2Shell: Exploitation Attempts and Remediation Trends (27 October 2026)Wiz Research
  5. Security Advisory 2026-018: Critical Vulnerabilities in PHPCERT-EU
  6. Ernstige kwetsbaarheden in PHP: bereid je voor op patchen (21 October 2026)NCSC-NL
  7. Critical PHP RCE: CVE-2026-109618 and CVE-2026-109619Sansec
  8. Known Exploited Vulnerabilities catalog: CVE-2026-109619 (added 26 October 2026)CISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →