PHP
CVE-2026-109618: PHP2Shell, remote code execution through out-of-memory handling.
PHP uses longjmp to abort a request on an out-of-memory error, and some contexts leave request memory uninitialised before the next allocation. Multiple out-of-memory strategies trigger it reliably and lead to remote code execution. It is one of the two flaws we named PHP2Shell.
Exploitation
- Exploitation
- Exploited in the wild
- CISA KEV
- Listed 26 Oct 2026
- Federal due date 29 Oct 2026; catalogue read 31 Oct 2026
- EPSS
- 100% in 30 days
- Percentile 100%, scored 29 Oct 2026
- 9.2Critical, (CVSS 4.0)Scored by NVD
- 100%EPSS, chance of exploitation in 30 daysPercentile 100%; scored 29 Oct 2026
- 21 OctPublished by NVD21 Oct 2026; record read 29 Oct 2026
Versions
Affected and fixed.
.
| Affected | Fixed in |
|---|---|
| PHP 8.5 before 8.5.12 | 8.5.12 |
| 8.4 before 8.4.27 | 8.4.27 |
| 8.3 before 8.3.36 | 8.3.36 |
| 8.2 before 8.2.35 | 8.2.35 |
| 8.1 and earlier, unsupported | No fixed release: out of support |
What to do now
Update PHP itself to a fixed release, rebuild images that bundle it, and restart every PHP worker. The interim settings, the hosting cases and the detection notes sit in our advisory.
How to check exposure
The running PHP version prints from the command line and in the server's information page; anything below 8.5.12, 8.4.27, 8.3.36 or 8.2.35 on its branch is exposed, and 8.1 and earlier are unsupported. Updating a content management system does not update PHP: the runtime is the thing to check, on every host, container image and managed platform.
The PHP project's advisory GHSA-w8hw-w9fx-j79w, opens in a new tab is the primary source for the fixed releases. The NVD configuration is unusually wide because products that bundle PHP carry their own fixed builds.
Who this reaches in Australia
PHP runs most of the Australian web: the WordPress, Drupal, Joomla and Magento sites of firms, councils and associations, and the hosting platforms behind them. A flaw in PHP itself reaches every one of them at once, and the fix sits with whoever runs the runtime, which is often a hosting provider the site owner has never spoken to.
Under the Essential Eight the fix is patch applications for an internet-facing service: 48 hours where a working exploit exists. Our advisory's interim settings reduce exposure while a change window or a provider is waited on.
Timeline
Disclosed, published, listed, advised.
- : Published by NVD
- : Black Shard advisory published
- : Advisory updated
- : Advisory updated
- : Added to the CISA Known Exploited Vulnerabilities Catalog
- : CISA due date for US federal agencies
- : NVD record last modified
Questions, answered.
Is CVE-2026-109618 exploited?
CISA added it to the Known Exploited Vulnerabilities Catalog on 26 October 2026, after our advisory's first release noted a public proof of concept.
Which PHP releases are fixed?
8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.1 and earlier are unsupported and have no fix; the path is an upgrade to a supported branch.
Does updating WordPress fix it?
No. The flaw is in PHP, the runtime under the site. Updating WordPress, Drupal, Joomla or Magento leaves the runtime where it was; the host or the container image has to carry a fixed PHP release.
What is the relationship to CVE-2026-109619?
They are the two PHP2Shell flaws, disclosed together and fixed in the same releases. CVE-2026-109619 is the stale global state variant, covered in the same advisory.
Provenance
Sources, and when they were read.
Every source was read 31 Oct 2026.
- 1NVD, CVE-2026-109618NIST. US Government work, public domain.
- 2CISA, Known Exploited Vulnerabilities CatalogUS Government work, public domain.
- 3FIRST, EPSS score for CVE-2026-109618EPSS terms of use.
- 4Black Shard, Essential Eight assessment
- 5Black Shard, PHP2Shell: the critical PHP vulnerability and how to patch it
- 6Vendor reference for CVE-2026-109618: github.comgithub.com. terms of use.
