Security check · free · no sign-up
Is your website vulnerable to
PHP2Shell?
On October 21, 2026, a patch was released for two critical flaws in PHP, the language that powers 7 out of 10 websites. Enter your address and we’ll tell you what your website reveals about it.
Published on · Last updated: · By the Wakaris team
Possible results
- Version older than the patch
Your website publicly states that it runs PHP version. That branch was fixed in fixed version. Based on what it publishes, the site may not be updated against PHP2Shell. What to do: if you manage the server, follow the steps below; if not, send the email to your hosting provider.
- Version equal to or newer than the patch
Your website publicly states that it runs PHP version, equal to or newer than fixed version. Based on what it publishes, it should be up to date. It’s worth confirming on the server: some providers apply the fix without changing the version number.
- Unsupported PHP branch
Your website publicly states that it runs PHP version. Branches 8.1 and earlier no longer receive official fixes. The site would need to move to a supported branch (8.2 or later) or get the fix from its provider. If you don’t manage the server, now is the time to send the email to your hosting provider.
- PHP detected, version hidden
Your website uses PHP, but the server doesn’t make the version public (which is good practice). From the outside there’s no way to tell whether it’s up to date: check it on the server or ask your hosting provider with the email above.
- No trace of PHP in the headers
Your website doesn’t publicly state that it uses PHP. It may be hiding it, sitting behind a proxy or CDN, or not using it at all. This is not a diagnosis: if you’re not sure, ask your hosting provider.
What is PHP2Shell: the critical 2026 PHP vulnerability, explained clearly
PHP is the invisible engine behind most websites: WordPress, online shops, intranets. Two serious flaws have been found in that engine.
PHP2Shell is the name given to two critical vulnerabilities in the PHP core, disclosed and fixed on October 21, 2026, and rated 9.2 out of 10 on the CVSS 4.0 scale. The flaws allow someone, without any access or password, to send your website a crafted request and run their own commands on the server. If that happened, they could modify the website, access the data it stores or use it to attack others. They affect practically every PHP version that hasn’t been updated, and the risk is higher on servers that use mod_php.
CVE-2026-109618
When PHP runs out of memory in the middle of a request, it may accept data as valid when it isn’t.
CVE-2026-109619
After a failure, PHP may keep using a piece of memory it had already released, and someone could exploit that gap.
Does it affect my website? Affected and fixed PHP versions
If your website uses PHP and hasn’t been updated since October 21, 2026, it could be exposed. You don’t need to know which version you have: the checker above gives you a first clue and, if it can’t be seen from the outside, below you’ll find what to ask.
As a visitor to other websites, you can browse as usual. These flaws affect the server, not your computer or phone.
| PHP version | Fixed version | Status |
|---|---|---|
| PHP 8.5 | 8.5.12 | Supported |
| PHP 8.4 | 8.4.27 | Supported |
| PHP 8.3 | 8.3.36 | Supported |
| PHP 8.2 | 8.2.35 | Supported until 12/31/2026 |
| PHP 8.1 and earlier | No official fixed version | Unsupported · you should move to 8.2 or later, or apply the fix offered by your provider |
What to do if someone else runs your website
You don’t have to touch anything. You just have to ask. Copy this email and send it to your hosting provider or whoever built your website:
Hi. I’ve read that there are two critical flaws in PHP (CVE-2026-109618 and CVE-2026-109619), fixed on October 21, 2026. Could you confirm which PHP version my website is running and whether it’s already on 8.5.12, 8.4.27, 8.3.36, 8.2.35 or later? If not, when are you planning to update it? Thanks.
If you don’t get a clear answer within 48 hours, that’s a sign in itself. A website needs someone to look after it.
How to update PHP against PHP2Shell, step by step
The real fix is to update PHP. Mitigations only reduce exposure in the meantime.
Step 1 · Check your version and your SAPI
On the server, check which version is running and how (mod_php, PHP-FPM or CGI):
php -v php -i | grep -i "Server API"
If you use your system’s packages, also check your distro’s changelog: the fix may have been applied without the version number changing.
Step 2 · Update to the fixed version
8.5.12/8.4.27/8.3.36/8.2.35depending on your branch. Examples:# Debian / Ubuntu sudo apt update && sudo apt upgrade php* # RHEL / AlmaLinux / Rocky sudo dnf update php\*
With Docker, switch to the fixed image tag and rebuild.
Step 3 · Restart all PHP workers
The update doesn’t take effect until the processes are restarted. Several mitigations don’t work through
ini_set()or.user.inieither: you have to restart.sudo systemctl restart php8.3-fpm # or your version sudo systemctl restart apache2 # if you use mod_php
Step 4 · If you can’t update yet: temporary mitigations
Apply them in the effective configuration (the web SAPI’s php.ini or the FPM pool), so the application can’t override them, and restart the workers. They are not a substitute for updating.
; php.ini (against CVE-2026-109619) session.upload_progress.enabled = 0 ; (against CVE-2026-109618) memory_limit = -1
On the web server or proxy: block
multipart/form-dataif you don’t need it and lowerpost_max_size. On PHP 8.5, disable backtraces on fatal errors.Step 5 · Start with what’s most exposed
First, public-facing systems and those using mod_php. Then control panels like cPanel/Plesk and applications such as WordPress, Drupal, Magento or Laravel, which are exposed through the PHP core.
Step 6 · Check everything is fine and look for signs of earlier access
After updating, check whether anyone could have exploited the flaw beforehand: spikes in multipart requests followed by memory errors or repeated 500s, unusual
PHPSESSIDcookies, unexpected worker restarts, modified PHP files or webshells, new admin users or odd outbound connections. If in doubt, rotate passwords, API keys and tokens on the exposed PHP systems.
A reliable check is done on the server
What this website reads from the outside is a clue, not proof. This is what’s reliable:
# Which version is actually running? php -v # Does the system package include the fix? (look for the CVEs in the changelog) # Debian/Ubuntu: zcat /usr/share/doc/php*/changelog.Debian.gz 2>/dev/null | grep -i "109618\|109619" # RHEL-like: rpm -q --changelog php | grep -i "109618\|109619"
Frequently asked questions about PHP2Shell
What is PHP2Shell?
It’s the name given to two critical PHP flaws (CVE-2026-109618 and CVE-2026-109619), disclosed and fixed on October 21, 2026. They allow someone without access to run their own commands on a website’s server through a crafted request. They are rated 9.2 out of 10 in CVSS 4.0.
Is my WordPress website affected by PHP2Shell?
It could be if the server hosting it runs an outdated PHP version. WordPress runs on PHP, so the flaw isn’t in WordPress but in the engine underneath. What matters is your hosting’s PHP version, not the version of WordPress or its plugins.
Which PHP version is safe against PHP2Shell?
The fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35, or any later version within their branch. PHP 8.1 and earlier no longer receive official fixes: you should move to 8.2 or later, or apply the fix offered by your hosting provider.
Is it safe to visit websites these days?
Yes. PHP2Shell affects the server where a website is hosted, not the computer or phone of the person visiting it. The sensible precaution is the usual one: be careful what you type (passwords, card details) on small websites that may be slow to update.
How do I know which PHP version my website runs?
If you manage the server, with the php -v command. If not, ask your hosting provider or whoever built your website; this page has an email ready to copy. The checker above gives a first clue by reading what the server makes public, but it’s no substitute for confirming it on the server.
Can Wakaris tell from the outside whether my website is up to date?
Only partly. If the server publishes its PHP version, we can compare it with the fixed one. If it hides it (good practice), it can’t be determined from the outside. That’s why the result is a clue and the reliable check is done on the server.
What happens if I don’t update PHP?
The website could be left open to someone running code on the server: modifying the website, accessing its data or using it to attack others. The longer it goes without an update, the higher the likelihood, because the details of the flaw are public.
What is Wakaris?
Wakaris is a website analysis tool by Bitanube Labs (Andorra). It analyses a website across nine areas (security, performance, presence, SEO, accessibility, legal, experience, artificial intelligence and marketing) and explains the findings in plain language, without jargon. Analysing one page is free and requires no sign-up.
This is just one finding. Your website has many more.
PHP2Shell is a finding in the Security area. Wakaris analyses your website across nine areas (security, performance, accessibility, legal, SEO and more) and explains it clearly, without jargon. Free, no sign-up.
And if you’d like us to warn you next time, ask about monitoring.