Website Security

Critical PHP Vulnerabilities (php2shell): Is Your Website Exposed?

Two critical PHP flaws released on 21 October 2026 let attackers run code on unpatched servers without logging in. What is affected, who must act, and what to do today.
22 October 2026

Quick answer

On 21 October 2026 PHP released emergency fixes for two critical flaws, CVE-2026-109618 and CVE-2026-109619 (nicknamed “php2shell”), both rated 9.2 out of 10. They let an attacker run code on a web server without logging in. Almost every WordPress and PHP website is affected until its server runs PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35 (or a vendor build with the fix). Sites on PHP 8.1 or older get no official fix at all.

If your website runs on WordPress, WooCommerce, Laravel or almost any other PHP application, this one concerns you directly. The problem is not in a plugin or a theme: it is in PHP, the language your website runs on. That means updating WordPress does nothing here, and a site can be fully up to date in its dashboard and still be wide open.

Exploit details leaked before the fix was ready, so attackers had a head start. This guide explains in plain terms what the two vulnerabilities do, which PHP versions are affected, who needs to act, and what to do today.

Not sure whether your website is protected?

Send us your website address. We’ll check which PHP build your server runs, confirm whether the fix is in place, and tell you plainly what needs to happen next.

Request an urgent security check Or contact us →

What happened

On 20 October, details of two serious PHP flaws appeared online before PHP had finished fixing them. The PHP security team responded the same evening with an advance notice of an emergency release, and shipped the fixes on Wednesday 21 October at 14:00 UTC (10 pm in Singapore). The US cybersecurity agency CISA issued an alert the same day urging organisations to patch immediately.

How 48 hours unfolded

20 Oct

Vulnerability details leak online. PHP announces an emergency release.

21 Oct · morning

Exploit code circulates and early attack attempts are reported, before any fix exists.

21 Oct · 14:00 UTC

PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 released. CISA urges immediate patching.

Right now

Automated scanners look for servers that haven’t updated yet.

The usual gap between a fix and mass exploitation has shrunk to days. Here it was hours.

Security researchers have since published technical write-ups, and a public exploit appeared before the patch was out. Cloudflare reported early attack attempts on the morning of 21 October; CISA said it had not yet confirmed active exploitation when it published its alert. Either way, the information attackers need is now public.

What the two vulnerabilities do

You don’t need to understand the internals to act, but a short explanation helps show why this is serious.

CVE-2026-109618: code execution through out-of-memory corruption

When PHP runs out of memory in the middle of a request, it bails out abruptly. If that happens while PHP is still setting up the incoming request, it can leave its own data half-initialised. A carefully crafted request can steer that situation into memory corruption, and from there into running the attacker’s own code on your server.

CVE-2026-109619: code execution through stale global state

PHP keeps some internal “global” information that can end up pointing to memory that belonged to an earlier request. An attacker can make PHP reuse that stale memory, again leading to code execution. PHP has linked the exploit path to its session upload progress feature and, on PHP 8.5, to fatal-error backtraces.

How an attack works, simplified

Attacker or botSends one crafted web request
Your web serverApache, Nginx, LiteSpeed or IIS passes it on
PHP engineMemory is corrupted while the request is being set up
Attacker runs codeFiles, database and customer data exposed
WordPress, plugins and security plugins haven’t even loaded yet
No login neededCVSS 9.2 CriticalFixed only by updating PHP
Because the flaw sits in PHP itself, keeping WordPress and plugins up to date does not protect you.

Three points matter for site owners:

  • No login required. The attacker only needs to send web requests to your site, like any visitor.
  • It happens before your website loads. WordPress, your plugins and security plugins such as Wordfence never get the chance to step in.
  • Every common setup is affected: PHP-FPM, Apache with mod_php, CGI, FrankenPHP and LiteSpeed. PHP rates the risk highest on Apache with mod_php.

Which PHP versions are affected

Every PHP version released before 21 October 2026 is affected. The PHP project only ships fixed releases for the branches it still supports:

PHP branch Fixed in Status
PHP 8.5 8.5.12 Fixed. Also disable fatal_error_backtraces if you can’t update yet
PHP 8.4 8.4.27 Fixed
PHP 8.3 8.3.36 Fixed
PHP 8.2 8.2.35 Fixed
PHP 8.1, 8.0, 7.x and older No official release Only source patches or paid long-term support vendors. Upgrade strongly advised

One catch: many servers install PHP from their Linux distribution (Ubuntu, Debian, CloudLinux and others), which often apply the fix without changing the version number you see. An older-looking number does not always mean you’re exposed, and a newer one doesn’t prove you’re safe if PHP workers were never restarted. The only reliable answer comes from checking the server itself.

Is your website at risk? It depends on your hosting

For most businesses, the real question is not “am I affected?” but “who is responsible for fixing it?”

How your site is hosted Who applies the fix What you should do
Managed WordPress hosting Your host Get written confirmation that the 21 October PHP release is applied to your site
Shared hosting (cPanel, Plesk) Your host, sometimes a day or more later Confirm with support, and check you are not on PHP 8.1 or older in the PHP selector
Cloud server or VPS (AWS, DigitalOcean, Linode, Vultr, panels like RunCloud or Ploi) You or your developer Nobody will patch it for you. Update PHP and restart all PHP workers today
Your own servers (on-premise, Windows IIS, Docker images) Your IT team Update PHP binaries or rebuild images, then restart PHP / recycle application pools
Behind Cloudflare or another firewall Partial protection only Firewall rules help, but attackers can sometimes reach the server directly. Still patch PHP

If you don’t know which row you’re in, or the developer who set up your website is no longer around, treat your site as exposed until someone has checked.

Why this cannot wait until next week

  • The exploit is public. Once working attack code is out, automated bots scan the whole internet for unpatched servers within days. They don’t pick targets; they try every site they find.
  • The damage is total. Code execution on your server means attackers can read your database (customer details, orders, enquiries), plant malware or card skimmers, send spam from your domain, or encrypt your files.
  • A breach is a legal problem too. In Singapore, a website leak of customers’ personal data can fall under the PDPA, with notification duties and potential penalties.
  • Cleaning up costs far more than patching. Removing malware, restoring from backups, recovering from Google blacklisting and rebuilding customer trust takes weeks. Patching takes hours.

What to do right now

  1. Find your PHP version. In WordPress, go to Tools → Site Health → Info → Server. Your hosting control panel usually shows it too.
  2. Ask your host in writing whether the 21 October 2026 PHP security release (CVE-2026-109618 and CVE-2026-109619) has been applied to your server, and when.
  3. If you manage your own server, update PHP to 8.5.12, 8.4.27, 8.3.36 or 8.2.35 (or your distribution’s patched package) and restart every PHP worker.
  4. If you can’t update today, PHP lists interim measures for server administrators: setting session.upload_progress.enabled = 0, on PHP 8.5 also fatal_error_backtraces = 0, then restarting PHP. Behind Cloudflare, make sure managed firewall rules are set to block. These reduce exposure; they don’t replace the update.
  5. If you’re on PHP 8.1 or older, plan the upgrade now. Test it on a staging copy first, because old themes and plugins can break on newer PHP. WordPress.org and the UK’s National Cyber Security Centre even suggest taking a self-managed site offline if it can’t be upgraded quickly.
  6. Look for signs of compromise: unknown admin users, unfamiliar PHP files in wp-content/uploads, recently modified core files or unexpected redirects. Take a fresh off-site backup once you know the site is clean.

Not sure whether your website is protected?

Send us your website address. We’ll check which PHP build your server runs, confirm whether the fix is in place, and tell you plainly what needs to happen next.

Request an urgent security check Or contact us →

How Adzzer can help

Most business owners don’t have the time, or the server access, to work through the steps above, and many aren’t sure who even controls their hosting. That’s where we come in. Our Singapore team can take the whole job off your hands:

Our urgent PHP security check

1CheckConfirm your exact PHP build, where it comes from and whether the 21 Oct fix is really in place.
2PatchUpdate PHP and restart every worker, or apply interim hardening until your host ships the fix.
3VerifyTest the pages that matter: forms, logins, checkout and uploads.
4InspectLook for signs the site was hit before the patch, and secure a clean off-site backup.
Sites on outdated PHP versions need a tested upgrade on staging before going live.
  • Already an Adzzer maintenance client? Contact us and we’ll confirm the status of your site.
  • Websites we don’t manage yet: we can audit your setup, coordinate with your hosting provider, apply the update or interim hardening on servers you control, and upgrade sites stuck on unsupported PHP versions safely through staging.
  • If something looks wrong, we investigate, clean up and restore, and put backups and monitoring in place so the next incident is caught early. See our backup and disaster recovery service.

Incidents like this are exactly why ongoing care matters. With one of our website maintenance plans (from SGD 150 per month), security updates, backups and monitoring are handled for you, so a critical PHP release becomes our task, not your emergency.

Frequently asked questions

I updated WordPress and all my plugins. Am I safe?

No. These flaws are in PHP, the software underneath WordPress. WordPress.org has confirmed that no WordPress update is needed or planned; the only fix is updating PHP on the server.

My site uses Cloudflare. Is that enough?

It helps, but it isn’t a fix. Cloudflare has deployed firewall rules against these attacks, yet Cloudflare itself advises updating PHP, and attackers can sometimes reach a server directly without going through Cloudflare.

My PHP version number hasn’t changed. Does that mean I’m vulnerable?

Not necessarily. Linux distributions often backport the fix without changing the version number. Ask your host, or have someone check the server’s package changelog for the two CVE numbers.

Is this only a WordPress problem?

No. Any website or application running on PHP is affected: WooCommerce, Joomla, Drupal, Magento, Laravel and custom PHP systems alike.

Get your website checked today

Tell us your website address and how it’s hosted. We’ll confirm whether it’s exposed to php2shell and, if it is, fix it with you.

Get urgent help See our website maintenance service →

Sources

PHP security announcement: php.announce. Government advisory: CISA – Critical Vulnerabilities in PHP Require Immediate Patching. Technical and hosting coverage: Huntress, runZero, The Hacker News, InMotion Hosting, Codeable and mySites.guru. Situation as of 22 October 2026; details may evolve as vendors publish updates.

Need Help With Your Website?

Web design, WordPress development and ongoing maintenance from one Singapore team. Tell us what you need and we’ll come back with a clear scope and price.

Scroll to Top