WordPress & PHP guides

Critical PHP Security Update: October 2026 Patches Explained

Author: Lucky Oleg | Published Updated

PHP released critical security fixes on 21 October 2026 for two vulnerabilities that can let an attacker run code on a web server without logging in. If your business uses WordPress, WooCommerce, Elementor or another PHP application, ask your hosting provider to confirm the fixes are active today. Updating WordPress alone does not update the server’s PHP runtime. PHP’s official advisory urges immediate patching.

New data: in our study of 112,163 sites checked after PHP2Shell, nearly 1 in 3 that showed their PHP version were on PHP 8.1 or older, and nearly 2 in 3 sites with signs of PHP kept their version private.

October notices reviewed on 28 October 2026. The 21 October upstream fixes remain the comparison for CVE-2026-109618 and CVE-2026-109619. Two later notices need separate configuration and package checks; the first fixed runtime versions do not settle those questions.

Later release, 19 November 2026: PHP published further security releases, 8.5.13, 8.4.28, 8.3.37 and 8.2.36, and released PHP 8.6.0 the same day. They carry the fixes below and the session fix (CVE-2026-115560) behind the 23 October notice. Ask your host to confirm the active package and any vendor backports using the message below.

At Web Aloha, we work on WordPress and Elementor websites and publish practical PHP version guidance, compatibility checklists and upgrade tools. Elementor’s official system requirements currently link to our Elementor PHP guide in their PHP recommendation. Here is how to turn this security notice into a clear action plan for your site.

What happened: CVE-2026-109618 and CVE-2026-109619

The PHP project announced an upcoming critical release on 20 October and published patches on 21 October. Its two advisories describe different memory-handling problems:

VulnerabilityWhat it means in plain languageOfficial advisory
CVE-2026-109618PHP can mishandle partially initialized request data after running out of memory.RCE via OOM corruption
CVE-2026-109619Internal state left over from an earlier request can refer to memory that has already been freed.RCE via stale global state

Both advisories rate the issue critical, CVSS 4.0 9.2. Remote code execution means an attacker may run code with the permissions of the PHP web worker. Depending on those permissions and the application, that can put website files, accessible data and availability at risk. Finding an affected version does not by itself establish that a site has been compromised.

Which websites and PHP versions are affected?

PHP’s release notice says all PHP installations serving web requests are at risk before patching, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. It identifies mod_php as the highest risk, with an attack demonstrated before application code runs. A WordPress security plugin therefore cannot replace the runtime fix.

For business owners, the practical question is whether any website, shop, portal, subdomain or old application you operate still runs an unpatched PHP runtime. The CMS brand and a working homepage do not answer that question.

These are the first fixed upstream releases for the two CVEs, as published on 21 October 2026:

PHP branch in useFixed upstream release
PHP 8.58.5.12
PHP 8.48.4.27
PHP 8.38.3.36
PHP 8.28.2.35
PHP 8.1 or olderNo new release. For people building PHP from source, PHP published minimal source patches for PHP 7.4, 8.0 and 8.1. Some vendors provide backports. Ask your vendor and plan a supported upgrade.

The patch versions are listed in both PHP advisories above. Later releases containing the fixes are also appropriate. Linux distributions and hosting vendors may apply backported patches without changing the visible version to one of these upstream numbers. Ask for the vendor’s package revision and confirmation covering both CVEs before deciding that an older-looking version is unpatched.

PHP 8.1 and older no longer receive updates from the PHP project, so there are no new releases for them. To help people who build PHP from source or have no long-term support vendor, the PHP security team published minimal source patches for PHP 7.4, PHP 8.0 and PHP 8.1. Some distributions and long-term support vendors provide backported fixes. These branches remain unsupported: ask your vendor which fix it ships and plan a move to a supported branch.

Later notices need separate checks

23 October: session upload progress configuration

PHP’s 23 October informational notice describes an unusual remote code execution path. It requires all of the following:

  • session.serialize_handler is configured as php_binary or php_serialize.
  • Application code switches the handler to php with ini_set() before calling session_start().
  • Session upload progress remains enabled.

In October PHP recommended session.upload_progress.enabled=0 until the next regular bugfix release. If that setting was already applied after the 21 October advisory, check with your host and developer before changing it. PHP says applications that never change the serialize handler at runtime can keep upload progress enabled.

No fixed release was named when we checked on 28 October 2026. The 19 November releases include the fix for CVE-2026-115560. Ask the host and developer to check the effective configuration and application code; public version headers cannot establish whether these conditions apply.

26 October: Windows package rebuilds for Brotli

PHP’s 26 October notice announces Windows packages 8.5.12-1, 8.4.27-1, 8.3.36-1 and 8.2.35-1. They include Brotli 1.2.1, addressing the Brotli decompression out-of-bounds write in CVE-2026-111497. PHP links the Brotli 1.2.1 release.

The -1 suffix is a Windows package rebuild with updated dependencies. It uses the same PHP source releases, and the PHP runtime versions remain unchanged. This is a package and dependency check, not a new upstream PHP version threshold.

In these Windows builds, cURL can reach the vulnerable decoder when automatic HTTP response decompression is enabled. cURL disables this by default, but applications and HTTP client libraries can enable it. Ask the host whether the Windows package or vendor dependency update is installed, and ask the developer whether the application enables decompression. A public PHP version alone establishes neither the operating system and package revision nor that application behavior, so applicability remains unknown from our checker.

What a WordPress or Elementor owner should do today

1. Ask your host to confirm patching now

Open a hosting support request for every affected account. You can copy this message:

Please confirm whether the PHP runtime serving my website has the fixes for CVE-2026-109618 and CVE-2026-109619. What exact PHP version or vendor package revision is active? If you use backported fixes, please provide the vendor advisory. Please also confirm the update covers all relevant web workers and servers, and that the required restart has completed. If patching is still pending, what is the immediate plan and what exposure controls are in place?

Does the installed package include the 19 November fix for CVE-2026-115560? If you cannot confirm it, please review the 23 October session upload progress notice with the developer and advise whether the temporary configuration change is needed.

If the site runs PHP on Windows, please confirm the package includes the 26 October Brotli 1.2.1 dependency update for CVE-2026-111497, and whether cURL automatic HTTP response decompression is enabled. The Windows -1 package rebuild keeps the PHP runtime version unchanged. Public PHP version clues cannot establish whether either later notice applies.

On managed hosting, the provider usually controls PHP packages. Choosing “PHP 8.4” in a panel does not tell you which patch or vendor revision is installed. If you manage the server yourself, follow the package vendor’s security instructions and verify the runtime actually serving web requests.

2. Confirm your PHP version, with the right limits

For a WordPress site you own, open Tools → Site Health → Info → Server. Compare that with the PHP settings for the exact domain in your hosting panel. If you have shell access, remember that php -v reports the command-line runtime, which can differ from the web runtime.

Our free PHP Version Checker is a quick first look at public evidence. It can report a version when the server exposes one. It cannot certify that the security patches are installed, that the site is safe or that no compromise has occurred. It also cannot establish the configuration or Windows dependency conditions in the later notices. A hidden or unknown version is not proof of vulnerability; get confirmation from the host.

3. Apply the patch and test the site

Arrange a current file and database backup and a recovery plan with the host or developer. For a site already on a supported branch, ask for that branch’s security patch promptly. For example, a PHP 8.4 site can receive 8.4.27 without making PHP 8.5 migration part of the same job.

Test the patch on staging where available. On an Elementor site, open the editor, save a draft and confirm a form reaches the test inbox. Once the patch is active on production, check form delivery, the next genuine payment callback on a store and the PHP logs. If a separate branch change is needed, our guide to updating PHP in WordPress covers the hosting controls and how to decide when to roll back.

The WordPress PHP Upgrade Readiness Checker helps organize compatibility evidence and testing. It is not a vulnerability scanner. Our PHP 8.4, PHP 8.5 and Elementor compatibility guides cover larger branch changes. Do not postpone an available security patch while planning a separate migration.

If the update breaks something, involve the host immediately. A rollback to a vulnerable PHP build reopens the risk; agree on a patched alternative or temporary access restrictions while the compatibility problem is fixed.

4. Escalate if the host cannot patch

Ask for a concrete patching timetable and a plan to reduce exposure in the meantime. CERT-EU’s advisory recommends considering isolation of internet-facing applications when immediate remediation is not possible.

PHP documents configuration measures that reduce particular attack paths, but explicitly says they are incomplete. Have an experienced administrator assess those measures against the actual application. A firewall rule, hidden version header or WordPress plugin is not confirmation that the runtime vulnerability has been fixed.

If you see unexplained file changes, new administrator accounts or other signs of intrusion, raise a suspected security incident with your host. Patching closes the addressed vulnerability; investigating and recovering a compromised site is additional work.

PHP 8.2 still needs an upgrade plan

Installing PHP 8.2.35 addresses these two vulnerabilities on the 8.2 branch. It does not extend the branch’s life: upstream security support ends on 31 December 2026, according to PHP’s support schedule.

Patch now, then use our PHP 8.2 end-of-life upgrade plan to choose a newer branch and test the full WordPress stack. Keep the immediate patch and the longer upgrade plan as separate, owned tasks.

Get help with your PHP update

Ask your host to patch the runtime now. If a plugin blocks the update or you need a developer to test the site, our WordPress PHP update service lists the price and scope for host coordination, staging tests and rollback planning.

Include the site address, hosting provider and update notice with your enquiry. We confirm the scope, price and timeline before starting. Legacy code changes, abandoned plugins and suspected compromise need their own assessment.

For routine updates and checks after the repair, see our ongoing WordPress care plans.

Recommended tools for this guide

Useful info? Spread the Aloha:

Lucky Oleg

Lucky Oleg is the founder of Web Aloha, a web design & SEO agency helping businesses ride the digital wave. With years of experience in WordPress, technical SEO, and web performance, he writes about what actually works in the real world.