Call us today: +91 79753 63425
Security alert · Updated 22 Oct 2026

Critical PHP vulnerability: patch your website in 4 hours

Two critical PHP flaws, CVE-2026-109618 and CVE-2026-109619, can let an attacker run code on an unpatched web server without logging in. Every WordPress, WooCommerce, Laravel and custom PHP site on an old PHP version is at risk. Quantech checks, backs up and patches your server within 4 hours.

Affected and patched PHP versions

If your server runs any version older than the ones below, it is vulnerable. PHP 7.x, 8.0 and 8.1 are end-of-life and will not get a fix, so they need an upgrade to a supported branch.

BranchVulnerableSafe (patched)
PHP 8.28.2.34 and older8.2.35 or newer
PHP 8.38.3.35 and older8.3.36 or newer
PHP 8.48.4.26 and older8.4.27 or newer
PHP 8.58.5.11 and older8.5.12 or newer
PHP 7.x / 8.0 / 8.1All (end-of-life)Upgrade to 8.3 or 8.4

Some Linux distributions (Ubuntu, RHEL, AlmaLinux) backport security fixes without changing the version number. A version string alone isn't proof either way, so we check the actual package.

What happened, in plain English

A PHP server keeps a few long-running "worker" processes. Each worker handles a request, cleans up, then handles the next one. Both bugs come from that clean-up going wrong, and an attacker can shape requests to exploit it.

CVE-2026-109618Critical

Remote code execution via out-of-memory corruption

When PHP runs out of memory it aborts the request immediately. Sometimes that happens while request memory is only half set up, and PHP's cleanup code then reads the half-built data as if it were valid.

A waiter is called away halfway through writing an order, and the kitchen cooks from the half-written slip as if it were complete. Here, the attacker controls what is on that slip.

How it's triggered: Specially shaped file-upload (multipart) requests make PHP run out of memory while staying inside the normal size limits. On Apache mod_php this happens before any website code runs, so it doesn't matter how well your own site is built. Researchers achieved full remote code execution against mod_php with default limits.

Official advisory GHSA-w8hw-w9fx-j79w
CVE-2026-109619Critical

Remote code execution via stale global state (use-after-free)

PHP keeps some global state (errors, sessions, extensions) that should be wiped after every request. Sometimes it isn't, and the next request on the same worker uses memory that has already been freed.

The previous hotel guest's key still works, and the next guest gets the room before housekeeping changes the lock.

How it's triggered: One request breaks mid-task and leaves stale state behind, and a later request reads it. Confirmed attacks used PHP configuration warnings or the session upload progress feature, which is on by default. Code execution was proven on both Apache mod_php and PHP-FPM.

Official advisory GHSA-6wmf-4rv5-p3rp

Is your website affected?

The flaw is in PHP itself, not in your website code. That means updating WordPress plugins won't fix it. The PHP version on the server has to change.

Apache + mod_php

Most exposed

Both CVEs proven to give unauthenticated remote code execution.

PHP-FPM (Nginx / Apache proxy)

Affected

CVE-2026-109619 proven exploitable. CVE-2026-109618 not yet fully demonstrated on FPM.

LiteSpeed LSAPI (cPanel / shared hosting)

Likely affected

Listed as a likely candidate. Common on Indian shared and cPanel hosting.

WordPress, WooCommerce, Laravel, CodeIgniter, Joomla, OpenCart, Magento

Affected if PHP is unpatched

The flaw is in PHP itself, so every PHP CMS and framework inherits it.

On shared or cPanel hosting? Open Select PHP Version or MultiPHP Manager in cPanel to see your PHP version. If the patched release isn't offered yet, your host has to update PHP. Raise a ticket, or .

What needs to be done

Following the PHP security team and the UK NCSC guidance, in order of priority:

  1. 1

    Upgrade PHP to the patched releaseOnly complete fix

    PHP 8.2.35, 8.3.36, 8.4.27 or 8.5.12 (or newer). This is the only complete fix for both CVEs. Older, unsupported PHP versions (7.x, 8.0, 8.1) should move to a supported branch.

  2. 2

    Turn off session upload progress

    Set session.upload_progress.enabled=0 and restart all PHP workers. Keep it off after patching if your site doesn't use it.

  3. 3

    On PHP 8.5, disable fatal error backtraces

    Set fatal_error_backtraces=0 administratively and restart all workers.

  4. 4

    Block upload requests you don't need

    If your site has no upload forms, block multipart requests at the web server and keep post_max_size conservative.

  5. 5

    Check for signs of compromise

    If the server can't be patched immediately, review it for backdoors, unknown admin users and modified files, as the NCSC recommends.

Quantech's 4-hour PHP security patch

Give us cPanel, hosting panel or SSH access and we'll have your server on a safe PHP version within 4 hours, with a full backup taken first. You get a fixed quote before we start.

0–30 min

Version & exposure check

We identify your PHP version, handler (mod_php, FPM or LSAPI) and hosting type, and tell you if you're affected.

30 min–2 hrs

Backup & compatibility test

Full backup of files and database, then we test your site, theme and plugins against the patched PHP release.

2–3 hrs

Patch & harden

PHP upgraded to the patched version, session upload progress disabled, unused multipart requests blocked, workers restarted.

3–4 hrs

Verify & report

We confirm the new version is live, test forms and checkout, scan for signs of compromise and send you a written report.

  • WordPress, WooCommerce, Laravel, CodeIgniter & custom PHP
  • cPanel, Plesk, Hostinger, GoDaddy, AWS, DigitalOcean
  • Plugin & theme compatibility testing
  • Interim mitigations if your host hasn't released the patch
  • Malware & backdoor check after patching
  • Written report of what was changed
Stop patching. Prevent it.

Prevent the next PHP emergency: upgrade to a Next.js website

Patching fixes this week's problem. If you're tired of emergency updates, plugin vulnerabilities and hacked-site clean-ups, the long-term answer is a website that doesn't run PHP at all.

No PHP workers to attack

A static or serverless Next.js site on Vercel has no long-running PHP processes, so this whole class of PHP memory bugs simply doesn't apply.

No plugins to keep patching

Most WordPress hacks come through outdated plugins and themes. A custom Next.js site has no plugin marketplace to exploit.

Faster pages, better Google rankings

Pre-rendered pages served from a global CDN load fast and score well on Core Web Vitals, which helps SEO and conversions.

Platform-managed infrastructure

Hosting, SSL and runtime security updates are handled by the platform, not by you or your shared host.

Compared onPHP / WordPress siteNext.js site by Quantech
PHP worker processes open to attack Yes, on every request None
Emergency upgrades after PHP advisories Required Not needed
Plugins & themes to keep patched Many None
Who patches the server You or your shared host Managed by the platform
How pages are served Built on each request Pre-rendered on a global CDN

PHP vulnerability FAQs

They are two critical PHP vulnerabilities disclosed on 21 October 2026, each rated CVSS 9.2. Both are memory-safety bugs in how PHP cleans up between requests. Under the right conditions, an attacker can run their own code on an unpatched web server without logging in.

Sources

Need ongoing protection after the patch? See our website maintenance & AMC plans.

Don't wait for your site to be the one that goes dark

Get your PHP server patched in 4 hours, or move to Next.js and leave PHP patches behind.