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.
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.
Branch
Vulnerable
Safe (patched)
PHP 8.2
8.2.34 and older
8.2.35 or newer
PHP 8.3
8.3.35 and older
8.3.36 or newer
PHP 8.4
8.4.26 and older
8.4.27 or newer
PHP 8.5
8.5.11 and older
8.5.12 or newer
PHP 7.x / 8.0 / 8.1
All (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.
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.
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
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
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
On PHP 8.5, disable fatal error backtraces
Set fatal_error_backtraces=0 administratively and restart all workers.
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
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.
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 on
PHP / WordPress site
Next.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.
All PHP versions before 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Older end-of-life versions (PHP 7.x, 8.0 and 8.1) will not get a fix and should be upgraded to a supported branch.
If your WordPress or WooCommerce site runs on an unpatched PHP version, yes. The flaw is in PHP itself, not WordPress, so updating WordPress plugins alone does not fix it. The PHP version on the server has to be upgraded.
In cPanel, open 'Select PHP Version' or 'MultiPHP Manager' to see the version for your domain. If you're on shared hosting and the patched version isn't offered yet, your host has to update PHP, so raise a support ticket with them. Note that some Linux distributions backport fixes without changing the version number, so a version string alone isn't proof either way.
Only partial ones. Set session.upload_progress.enabled=0 and restart all workers, set fatal_error_backtraces=0 on PHP 8.5, and block multipart upload requests if your site doesn't use upload forms. Upgrading PHP is the only complete fix.
We aim to patch your server within 4 hours of receiving access (cPanel, hosting panel or SSH). If your shared host hasn't made the patched PHP version available yet, we apply the interim mitigations immediately and handle the ticket with your host for you.
Both are rated 'high complexity', so they aren't one-click attacks, and the NCSC alert did not report exploitation in the wild at the time of writing. But the advisories are public and unauthenticated code execution on a public server is serious. Patching now is far cheaper than recovering a hacked site.
A patch-level upgrade within the same branch (for example 8.3.30 to 8.3.36) rarely breaks anything. Jumping from PHP 7.x to 8.x can break old themes and plugins, which is why we take a full backup and test compatibility before switching.
A static or serverless Next.js website deployed on a platform like Vercel doesn't run long-lived PHP worker processes, so PHP bugs like these don't apply. It's the long-term answer if your business is tired of emergency patches, plugin updates and hacked-site cleanups.