Security bulletin ·
Is your PHP patched against php2shell?
Paste your PHP version, Linux package version or Docker tag. We compare it in your browser with the fixed versions. Nothing is sent anywhere.
Check your PHP version
This tool never contacts your website. Everything runs in your browser.
How do I find my version?
php -v
In WordPress: Tools, then Site Health, then Info, then Server Enter a version and press Check. The result opens in a window.
What the answers mean
- PatchedAt or above the official fixed version.
- Not patched yetOlder than the fixed version. Update, then check again.
- Needs attentionNo fix yet, end of life or a pre-release. The result says what to do.
- Unconfirmed or incompleteWe cannot judge this input yet. The result says what is missing.
Only use this to check sites you own or are responsible for.
Independent site, not affiliated with the PHP Group or php.net.
Fixed PHP versions
- PHP 8.58.5.12
- PHP 8.48.4.27
- PHP 8.38.3.36
- PHP 8.28.2.35
- PHP 7.4, 8.0, 8.1End of life: no release number
Upstream releases that fix both CVEs. Distribution packages use their own version numbers, see the table.
What to do now
Find your version
Run php -v, or check your host's control panel. On a VPS, run the package command for your distribution.
Compare it above
The checker tells you if you are patched, or which version to install. Distribution packages are compared with the vendor's own fixed version.
Update, then restart
Update PHP through your host or package manager and restart PHP-FPM or the web server. Run the check again.
After patching: two more things to check
CISA's deadline
CISA lists CVE-2026-109618 and CVE-2026-109619 in its Known Exploited Vulnerabilities (KEV) catalog, added 26 October 2026. The due date it set for US federal agencies to fix them was 29 October 2026; that deadline has passed.
Was your server already compromised?
Patching does not remove anything that was planted while PHP was still vulnerable. Government cyber security agencies advise checking for signs of compromise as well as updating:
- Review web server, application and authentication logs for suspicious activity.
- Look for unexpected processes, files, accounts or outbound connections.
- Watch for PHP worker processes launching shells or downloading tools.
If you find something suspicious, contact your hosting provider or a security professional.
Guidance from: NCSC New Zealand · Canadian Centre for Cyber Security · CISA
Update the Linux kernel too
On 28 October 2026 CISA added the Linux kernel local privilege escalation vulnerability CVE-2026-46300 (Fragnesia) to the same catalog (due date 31 October 2026, now passed). Its entry says:
This vulnerability can be chained with CVE-2026-109618 and CVE-2026-109619 to implant PHP webshells and run commands as root. If you run your own server, update the kernel as well as PHP.
php2shell (CVE-2026-109618, CVE-2026-109619): what it is and how to fix it
php2shell is two critical PHP flaws (CVE-2026-109618, CVE-2026-109619, CVSS 9.2). See who is affected, the fixed versions, and how to check, update and verify.
How to check your PHP version, and what to compare it with
Find the PHP version your site really runs: php -v, a temporary test file, WordPress Site Health, cPanel, Plesk, DirectAdmin, apt, rpm, apk and Docker.
How to update PHP in cPanel and fix php2shell
Fix php2shell on cPanel: what shared-hosting customers can do, how to update EasyApache 4 ea-php in WHM, and how to update CloudLinux alt-php.
Update PHP on Plesk for php2shell (CVE-2026-109618 and CVE-2026-109619)
Plesk-provided PHP has php2shell fixes on Linux and Windows. How to install them, switch a domain's PHP handler, update OS-vendor PHP and verify.
Update PHP on DirectAdmin with CustomBuild
Patch PHP on DirectAdmin: the da update and da build php commands, how to handle each user's PHP selector, and how to verify the fix. Updated 22 Oct 2026.
Update PHP on Ubuntu and Debian for php2shell
Fix the php2shell PHP flaws on Ubuntu and Debian: fixed package versions per release, apt update commands, how to verify, and PPA/sury repo notes.
Update PHP on RHEL, AlmaLinux, Rocky Linux and Amazon Linux
How to patch PHP against php2shell on RHEL 8/9/10, AlmaLinux, Rocky, Oracle, Amazon Linux and Remi: current fix status, dnf commands, restart and verify.
Update your PHP Docker image for php2shell
Rebuild and redeploy your PHP containers for php2shell: which official php tags carry the fix, pinning digests, Compose and Kubernetes rollout, Alpine apk.
Go deeper
Does this site scan my website?
No. It never contacts your site or any server. You enter a version number and the comparison runs in your browser against tables embedded in the page.
My version is lower than the fixed one but my distro says it is patched. Who is right?
Compare rather than assume. Vendors back-port fixes into older version numbers, for example 8.3.6-0ubuntu0.24.04.x can contain a fix that upstream shipped in 8.3.36, but only if your vendor has published that fix for your release. Use the Linux package tab, which compares against the vendor's own fixed package version. Some releases have no vendor fix yet or are end of life.
I am on shared hosting and cannot run commands. What can I do?
Your host has to install the fixed PHP build. Choosing another branch in the control panel does not patch anything by itself. Check which PHP version your site uses there, then see the hosting status page for what your provider has said. If there is no statement, ask support whether the fixed build is installed and PHP restarted. Some hosts patch in place without changing the version number.
Good to know
This tool never contacts your website. Everything runs in your browser.
Only use this to check sites you own or are responsible for. Distribution package versions: follow each vendor's security advisory.
Independent site, not affiliated with the PHP Group or php.net.
Can't patch it yourself?
$49personal patch plan
Written, step-by-step instructions for your exact hosting setup, delivered by email within 24 hours.
- We never log in to your server: you carry out the steps, we write them for you
- Only for sites you own or are responsible for
- Copyable commands plus how to verify the result
Shows our email address and a prefilled request you can copy.
Full refund until your plan is sent. Refund policy
Tell a colleague
Copy this message and send it by chat or email.
The php2shell vulnerabilities in PHP are rated critical. The official fixed versions are PHP 8.5.12 / 8.4.27 / 8.3.36 / 8.2.35. Please check which PHP version you run: https://php2shellcheck.com/
Email updates
Get an email when the fix status changes
One short email, only when an official source changes a fixed version or a vendor's status. Every email links the source.
We store your address and language until you unsubscribe. Details in the privacy policy. No email? Follow the RSS feed.