TL;DR
Get the latest gadgets delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
PHP released emergency updates on Oct. 21 for two critical vulnerabilities that can enable unauthenticated remote code execution in web-facing PHP deployments. The Dutch government said several sites, including DigiD, were taken offline as a precaution; it did not report confirmed compromises.
PHP released emergency updates on Oct. 21 for two critical flaws, tracked as CVE-2026-109618 and CVE-2026-109619, that can allow unauthenticated attackers to execute code on vulnerable web-facing deployments. The Dutch government said it took several public websites offline, including Overheid.nl, MijnOverheid.nl and DigiD, as a precaution; its announcement did not say those services had been compromised.
PHP’s security advisories assign both vulnerabilities a CVSS v4.0 score of 9.2. One flaw involves request data left partly initialized after an out-of-memory failure, which can lead to memory corruption. The other involves internal state retaining references to memory that has already been freed, allowing a later request in the same worker to encounter stale data. PHP says these conditions can lead to remote code execution.
The PHP security team lists web request deployments using PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed as potentially affected. Exposure depends on the deployment and configuration. The advisories describe demonstrated exploitation on Apache with mod_php; code execution as a web worker does not by itself mean an attacker has administrator or root access.
Fixes were released for PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP also provided minimal source backports for versions 7.4, 8.0 and 8.1, which are outside normal upstream support. Operators using older versions or vendor-managed packages need to confirm with their provider that both fixes are included. Updating a site’s application, themes or plugins alone does not patch the PHP engine.
Security briefing · PHP runtime · 21 October 2026
PHP2Shell and the Outage: A Closer Look at Critical PHP Flaws
Emergency fixes address two critical PHP vulnerabilities that may enable unauthenticated remote code execution. Dutch officials took several public websites offline as a precaution; their announcement did not report confirmed compromises.
01 / What failed
Two flaws, two failure paths
Both issues concern memory and internal state during request handling. PHP says they can lead to remote code execution in affected deployments, but exposure depends on the server setup and configuration.
Incomplete request data
An out-of-memory failure can interrupt initialization, leaving request data partly uninitialized. Cleanup may then treat invalid data as valid, potentially causing memory corruption.
Stale memory reference
Internal state can retain a reference after its memory has been freed. A later request handled by the same worker may encounter stale data, creating a use-after-free condition.
02 / Who should act
Exposure follows the runtime
The PHP security team lists web request deployments using these server interfaces as potentially affected. The advisory describes demonstrated exploitation on Apache with mod_php; that does not prove every configuration is equally exposed.
Apache mod_php
Advisories describe demonstrated exploitation on this configuration, including paths that may run before application code.
PHP-FPM & php-cgi
PHP-FPM handles some startup failures differently, but that alone does not establish that every deployment is safe.
FrankenPHP & LiteSpeed
These are also listed as potentially affected. Review the official advisory and your vendor’s guidance for the actual setup.
Code execution as a web worker does not automatically mean administrator or root access.
The impact depends on the account, permissions and configuration of the affected process.03 / The response
Patch the PHP engine
Identify the runtime actually serving web traffic, install a release or vendor package that addresses both CVEs, then verify the patched runtime is active.
Supported release lines
PHP lists these fixed releases. Confirm that requests reach the updated installation after any required restart or redeployment.
Verify vendor backports
Minimal source backports were provided for PHP 7.4, 8.0 and 8.1, which are outside normal upstream support. Ask package or hosting providers to confirm both fixes are included.
Check web PHP directly
Command-line PHP may use a different installation from the one handling site traffic. Updating WordPress, its themes or plugins does not patch the server’s PHP engine.
Find every web-facing, staging and older PHP deployment.
Install a fixed release or vendor package covering both CVEs.
Restart or redeploy as needed, then confirm the web runtime is fixed.
Check relevant logs; patching does not rule out earlier intrusion.
04 / What the outage tells us
Precaution is not proof of compromise
Dutch officials said several public websites were taken offline to reduce risk while assessing the situation.
The named services included Overheid.nl, MijnOverheid.nl and DigiD. The government announcement did not report confirmed unauthorized access. Cloudflare separately reported attack attempts against its customers; that statement does not establish that the named Dutch services were targeted or affected. Available source material does not establish how many servers were vulnerable or successfully exploited.
05 / Keep in perspective
Research, validation and response
Source material says researchers at Calif, OpenAI and Wiz used AI-assisted research tools in work that helped identify the flaws. PHP maintainers handled the fixes and releases; technical validation and deployment involved researchers and maintainers.
“Both vulnerabilities carry a CVSS v4.0 score of 9.2, Critical.”
Severity describes assessed risk; it does not by itself determine whether a specific deployment is exploitable.06 / Key questions
What operators need to know
What are the PHP2Shell vulnerabilities?
CVE-2026-109618 and CVE-2026-109619 involve memory handling and internal state. PHP says they can enable unauthenticated remote code execution in affected deployments.
Which versions include the fixes?
The listed releases are 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Confirm vendor backports for 7.4, 8.0 and 8.1 packages.
Were DigiD and other Dutch sites hacked?
The government said services were taken offline as a precaution. The source material does not report confirmed compromises of Overheid.nl, MijnOverheid.nl or DigiD.
Does updating WordPress fix the flaws?
No. These issues affect the PHP runtime. Update the server runtime or its vendor-provided package; site software updates do not patch PHP.
Does code execution mean root access?
Not automatically. Execution occurs with the web worker’s privileges; resulting access depends on the process account and system configuration.
Does patching prove there was no intrusion?
No. Updating closes the vulnerability going forward, but operators should review relevant logs and investigate suspicious activity.
Public Services Face Patch Pressure
The flaws affect the runtime that processes web requests, so a vulnerable server may be exposed even when its website software has been updated. Operators need to identify the PHP version actually serving web traffic, apply the appropriate fixed package and confirm that the change is active after any required restart or redeployment.
The Dutch shutdowns show that organizations may choose to limit service availability while they assess or reduce risk. Officials characterized the closures as precautionary, not as evidence of an intrusion. Cloudflare separately reported attack attempts against its customers, but that statement does not establish that the named Dutch services were targeted or affected.
Installing an update also cannot establish whether an earlier intrusion occurred. PHP operators may need to review relevant logs and investigate unusual activity alongside patching. The advisories describe possible execution with the web worker’s privileges; the consequences therefore depend in part on the account and permissions under which each deployment runs.
As an affiliate, we earn on qualifying purchases.
How the PHP Flaws Differ
Both vulnerabilities concern PHP’s handling of memory and internal state during request processing, but they arise through different failure conditions. In CVE-2026-109618, an out-of-memory event can interrupt an operation before request data is fully initialized. Cleanup may then handle invalid data as if it were valid. In CVE-2026-109619, internal state may outlast the memory it references, creating a use-after-free condition that a subsequent request can encounter.
PHP’s advisories and technical research cited in the source material describe deployment-specific paths to exploitation. Some demonstrated mod_php attacks can occur before application code runs. PHP-FPM handles certain startup failures differently, but that does not establish that every PHP-FPM deployment is safe; the research describes application-dependent paths as well. Operators should use the official advisory and their software vendor’s guidance to assess their setup.
The source material also says researchers at Calif, OpenAI and Wiz used AI-assisted research tools in work that helped identify the flaws. PHP maintainers handled the fixes and releases. That account describes a role for AI in research, while the technical validation, patching and deployment remained work involving researchers and maintainers.
“Both vulnerabilities carry a CVSS v4.0 score of 9.2, Critical.”
— PHP security team
As an affiliate, we earn on qualifying purchases.
Exposure Depends on Each Deployment
The available source material does not establish how many servers were vulnerable, how many were successfully exploited, or whether any of the named Dutch websites experienced unauthorized access. The government described its shutdowns as precautionary, and the Cloudflare report does not resolve whether attacks succeeded against other organizations.
It is also unclear how quickly hosting providers and organizations will deploy fixes across production, staging and legacy systems. Older version numbers may not show whether a vendor has applied a backport. A critical score alone cannot determine whether a particular deployment is exploitable, and the impact of code execution depends on the affected process’s privileges.
As an affiliate, we earn on qualifying purchases.
Operators Verify Patched Runtimes
Website operators should check every web-facing PHP deployment, including older and staging systems, and confirm whether the web runtime has a fixed release or a vendor package that addresses both CVEs. Command-line PHP may use a different installation from the runtime handling site traffic. After updating, operators should complete any required restart or redeployment and verify that requests reach the patched runtime.
Organizations that cannot patch immediately should consult their hosting or security provider about restricting access or temporarily taking affected services offline. PHP’s official advisories remain the reference for release and configuration guidance. After patching, operators should review relevant logs for suspicious activity because a software update does not undo any earlier intrusion.
As an affiliate, we earn on qualifying purchases.
Key Questions
What are the PHP2Shell vulnerabilities?
They are two PHP flaws, CVE-2026-109618 and CVE-2026-109619, involving memory handling and internal state. PHP says they can enable unauthenticated remote code execution in affected deployments.
Which PHP versions include the fixes?
The releases listed in the advisories are 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP also provided minimal source backports for versions 7.4, 8.0 and 8.1; users of vendor packages should confirm the fixes with their provider.
Were DigiD and the other Dutch sites hacked?
The Dutch government said the sites were taken offline as a precaution. The source material does not report confirmed compromises of Overheid.nl, MijnOverheid.nl or DigiD.
Does updating WordPress fix these flaws?
No. These vulnerabilities affect the PHP runtime. Updating WordPress, its themes or its plugins does not patch the PHP engine; the server runtime or its vendor-provided package must be updated.
Does a successful attack mean an attacker gets root access?
Not automatically. PHP describes code execution as the web worker account; the resulting access depends on that process’s privileges and the affected system’s configuration.
Source: Thorsten Meyer AI
Fall Picks
fall essentials
As an affiliate, we earn on qualifying purchases.
