Two critical PHP flaws were fixed on 21 October 2026. A third flaw, CVE-2026-115560, was reported on 23 October and has no fix in the versions listed below yet. This guide explains what is confirmed, what is not, and what to do this week. It includes a free decision guide and a route to free initial guidance from DD Digital. 01 / Security overview The NCSC and the PHP project describe three flaws. The first two have the same fixed versions. The third does not, and its impact is described differently. Do not read one card as a conclusion about another. Can allow remote code execution without logging in, according to the PHP project. Can allow remote code execution without logging in, according to the PHP project. According to the PHP Foundation, as reported by the NCSC, remote code execution through this flaw is unlikely. Its impact is not the same as the first two. Patch status and exposure must be checked for each CVE separately. A server that runs a fixed version for the first two CVEs is not automatically protected against the third. 02 / What happened? PHP is the programming language that runs much of the code behind websites, web shops and online applications. WordPress runs on PHP. So do many other content management systems, web applications and APIs. When a flaw in PHP is exploited, the attacker may run commands on the server. The web application on top does not need to be vulnerable for that to happen. The NCSC advisory of 21 October 2026 describes two critical flaws. The PHP project says both can lead to remote code execution through ordinary web requests, without authentication. The NCSC update of 23 October adds that one report of possible abuse abroad has been received. That report has not been confirmed as a successful attack. The NCSC also estimates that large-scale abuse is now less likely than it first thought. Fixed versions exist for the first two CVEs. The NCSC says that vulnerable systems should be kept offline until they are updated. The third CVE has no fix in the listed versions yet. Whether these flaws have been used in attacks. One unconfirmed report of possible abuse abroad has been received. No conclusion can be drawn from the absence of alerts. A vulnerable PHP version does not prove that a system has been compromised. It means that the system could be attacked, and that the risk has to be assessed. Do not treat either an unpatched or a patched version as proof in itself. Evidence of compromise comes from logs and investigation, not from a version number. 03 / Technical assessment The version number is a starting point, not proof. Linux distributions and hosting providers often backport security fixes into older version labels. Ask for the vendor advisory or changelog entry in that case. Four things need checking separately: The PHP project lists temporary settings that reduce specific attack paths. They are not a fix. Updating to a patched release is described as the only complete mitigation. Measures include setting The PHP project says so explicitly. Logs help you find signs of abuse. They cannot show that nothing happened. If you suspect compromise, involve a specialist. For background on the wider risk picture, read Why WordPress Sites Get Hacked: 7 Hidden Risks Small Businesses Miss. It describes hosting and the server as one of six connected layers. This advisory is a reason to check the PHP runtime specifically, not only the hosting package. Access controls matter too, but they do not replace patching. After Login: Zero Trust, Tokens and Revocable Trust explains why a stolen login is not the only entry point. Multi-factor authentication protects important boundaries, but it does not fix a defect in PHP request handling. For the limits of what a check can show, see Build Log 004: Web Evidence Inspector. Observations from a defined session are evidence about that session. They are not absolute proof about a whole website. The PHP2Shell decision guide works the same way. The workflow we use to check and publish our own tools is described in Build Log 001: The First Artifact. Bundle inspection and the final publication decision remain separate gates, with a human as the final authority. 04 / PROTECT decision guide The guide follows the structure of the NCSC decision guide for PHP vulnerabilities (22 October 2026). It asks a few short questions about who manages PHP, what patch status applies, and whether the functionality can be reached from the internet. The outcome links to one of the four NCSC explanatory notes, and shows a separate status for each of the three CVEs. Unknown answers lead to a verification step. They never lead to a “safe” verdict. The guide is an independent addition by DD Digital. It is not an official NCSC tool. 05 / What should you do next? Pick the situation that matches you. Each step says whether you can check it yourself or need your provider or a specialist. Ask your hosting provider which PHP version runs your site, and whether the fix for the first two CVEs is active. You can check yourself in your hosting control panel. If you cannot find the version, ask your provider. Updating WordPress, themes and plugins does not update PHP. Check the PHP version in Site Health or in your hosting panel. Plugin updates are not a fix for these CVEs. For a broader check of your WordPress setup, see our WordPress Security Quick Check. You manage PHP yourself, so you patch it. Install the fixed version, restart the PHP workers, and verify the version the web server uses. If a fixed version is not available for your release, plan an upgrade, and take the system offline until it is updated, as the NCSC advises. Ask your provider in writing for the patch status of PHP on your account, the date it was applied, and whether the service is reachable from the internet. You can check the version yourself. You cannot patch the server, so the provider must confirm the fix. If you see unknown files, unknown accounts, changes you did not make, or unusual traffic, act today. Contact your provider or a security specialist. Keep logs and backups as they are, and do not delete anything yet. Do not wait for the update. 06 / Free initial guidance from DD Digital Ask DD Digital for free initial guidance. You can send us a first question about: This first guidance is not a full security audit, a penetration test, incident response, or a guarantee that your system is safe. It is a practical first answer to help you decide what to do next. Requests are reviewed first. The project form states a reply within 24 hours. Do not send passwords, MFA codes, API keys, tokens or database exports, through the form or by email. Free and without obligation. Via the DD Digital project form. 07 / Official sources and editorial notes We separate three things on this page: what the sources confirm, what they do not yet say, and what we recommend. Check the original sources before you act, because the situation may change. Editorial note: this page is general information. It is not a security certification and does not confirm that any system is secure. The statements on CVE-2026-115560 come from the NCSC update of 23 October 2026 and the PHP Foundation statement it cites. Check the PHP Foundation source for the latest status. Mitigation settings are taken from the PHP advisories listed above, and are temporary.PHP2Shell: Understand your exposure. Verify your PHP. Know what to do next.
Three CVEs, three separate assessments
Memory corruption during out-of-memory handling
Stale global state reused by a later request
A separate flaw, reported 23 October
What happened, and what is still unknown

What to verify on the server


Temporary measures and their limits
memory_limit=-1 and enforcing it at every level, reducing max_input_nesting_level, keeping post_max_size conservative, and blocking multipart requests at the frontend where the application does not use them. On PHP 8.5 without an update, fatal_error_backtraces=0 is listed. session.upload_progress.enabled=0 is recommended as well. Every change needs a restart of the PHP workers, and it must be checked that no other setting restores the old behaviour.PHP2Shell decision guide

Practical steps by situation
Website owners
WordPress administrators
Organisations with their own servers
Users of managed hosting
Anyone who suspects compromise
Not sure whether your website is affected?
Read the sources yourself
Related DD Digital and Darja Rihla reading
DD DIGITAL PROTECT SECURITY ADVISORY
CVE-2026-109618
CVE-2026-109619
CVE-2026-115560
Confirmed
Not confirmed
Clean logs are not proof of safety
Privacy: the guide runs in your browser. Your answers are not sent to DD Digital, to Darja Rihla or to any third party. You can download, copy or print the result.
Ask DD Digital a Question
