Security Advisory · October 20, 2026

PHP has shipped the emergency fix for two critical flaws. If you run a website, update now.

The PHP project released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on the morning of October 21, 2026, ahead of its announced 14:00 UTC slot. They fix two unauthenticated remote code execution vulnerabilities in PHP itself (CVE-2026-109618 and CVE-2026-109619), each rated CVSS v4.0 9.2. PHP says updating is the only complete fix.

Status (October 22, 2026): Patched. Fixed versions are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and Ubuntu, Debian, the Sury PHP repository and Fedora have all published packages. If your vendor or hosting provider has not updated you yet, ask them when; the interim settings below still apply until they do. Every PHP system we manage is now running a fixed version, with the interim settings and the automatic blocking left in place as a second layer.

What was announced

On October 20, the PHP security team gave advance notice of a security release scheduled for Wednesday, October 21, 2026 at 14:00 UTC. It addresses two critical vulnerabilities, each rated CVSS v4.0 9.2. The team said all PHP users should prepare now so they can upgrade as soon as the release is available, and that it reserves the right to release earlier if details become public or exploitation is seen. Wordfence relayed the notice to WordPress site owners the same day.

The two issues are tracked as CVE-2026-109618 and CVE-2026-109619. Both are described as remote code execution in PHP itself, not in a plugin or a framework. Details leaked ahead of the embargo; security researchers who have seen them report that every PHP version from 5 onward appears to be affected, though PHP has not confirmed the affected versions. No exploitation in the wild has been reported as of this writing.

Update, October 21: The release is out and the php.net advisory confirms the affected range: everything below 8.2.35, 8.3.36, 8.4.27 and 8.5.12. PHP 8.1 and older get no packaged release from the PHP project, though it has published minimal source backports for 7.4, 8.0 and 8.1 for those who build from source or whose vendor does; PHP 8.2 reaches end of life on December 31, 2026, so 8.2.35 is that branch's last security fix and sites on it should plan a move to 8.3 or 8.4. CVE-2026-109618 is a memory-corruption bug reached through ordinary multipart form uploads when PHP runs out of memory; it was demonstrated against Apache's mod_php with default settings. CVE-2026-109619 lets state from one request leak into the next on the same worker, with the session upload-progress feature (on by default) as one confirmed path. Neither needs a login. PHP states there is no complete mitigation other than updating.

Who this affects

Anyone running a PHP application, which is most of the web: WordPress, Joomla and Drupal sites; ownCloud and Nextcloud file servers; SuiteCRM and other PHP business apps; Laravel and Symfony applications; phpMyAdmin; webmail such as Roundcube; and most hosting control panels. If your business has a website, there is a good chance PHP is behind it.

What to do while your packages build

  1. Apply the interim settings PHP recommends. Set session.upload_progress.enabled=0 in your PHP configuration and reload PHP-FPM or Apache; PHP suggests leaving it off even after patching unless you use the feature. Keep post_max_size modest and reject oversized uploads at the web server. Do not set memory_limit=-1 on a shared server; it trades one problem for an easy denial of service.
  2. Find out what runs PHP for you and who is responsible for patching it. On managed hosting (WordPress hosts, cPanel, Plesk), that is your provider. On your own servers, it is you or your IT provider. Decide that now, not tomorrow.
  3. Check your PHP version. In WordPress: Tools → Site Health → Info → Server. In cPanel or Plesk: the PHP selector. On a server: php -v. Write it down so you can confirm the change after patching.
  4. If you are on PHP 8.0 or older, plan an upgrade regardless. Those branches no longer receive security fixes from the PHP project. Some Linux distributions backport fixes, but a site on PHP 7 or older is unlikely to get one.
  5. Ask your host or provider when they will apply it. A good answer is "within hours of release". A vague answer is a reason to follow up tomorrow.
  6. Make sure you have a current backup of the site files and database, so a bad patch or a successful attack can be reversed.

What to do as soon as your packages are available

  1. Update to a fixed version from your distribution or PHP repository, then restart PHP-FPM or Apache. Confirm the version changed.
  2. Don't rely on a web application firewall alone. A WAF rule can narrow exposure while you patch, but it is not a substitute for the fix.
  3. Watch for signs of exploitation in the days after: unusual POST requests in web logs, new files in upload or temp directories, unexpected admin users. If something looks wrong, treat the host as compromised until proven otherwise.

What we are doing

We inventoried every PHP installation we manage on October 20: WordPress hosts, EFAdrive file-sharing servers, our CRM, and our own websites. On the morning of October 21 we applied the interim settings on all of them within an hour of the release. All of them were then patched to the fixed versions as each distribution published: the Ubuntu and Sury-based hosts on October 21 and the Fedora host on October 22, each verified after the restart. The fleet is fully patched. The interim settings and the automatic first-strike blocking stay in place as a second layer. Managed customers did not need to do anything.

Where EFA fits

  • EFAshield tracks pending security updates across every server it watches and alerts when a host falls behind, which is how we knew within minutes which systems need this fix.
  • Not a customer? Sign up for alerts and you will get the update to this advisory by email, or ask us to check your exposure.

Sources: PHP security team pre-announcement (October 20) and release advisory (October 21), php.net; php-src security advisories GHSA-w8hw-w9fx-j79w and GHSA-6wmf-4rv5-p3rp; Wordfence PSA, October 20, 2026. Summary by the EFA Security team. Updated October 21, 2026; this page will be updated again once our managed systems are patched.

At a glance

  • CVEs: CVE-2026-109618, CVE-2026-109619
  • Severity: Critical, CVSS v4.0 9.2 (both)
  • Type: Remote code execution in PHP core
  • Released: Oct 21, 2026, ahead of the 14:00 UTC slot
  • Fixed in: PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35 (8.2 is end of life Dec 31, 2026; source backports only for 7.4 to 8.1)
  • Top action: Update PHP as soon as your packages publish; apply the interim settings now

Read the source

The PHP project's advisory, the two technical write-ups, and the Wordfence PSA.

php.net

CVE-2026-109618

CVE-2026-109619

Wordfence PSA

Get the update by email

We will email subscribers when the fixed versions are out. Short notices only, no marketing.

Sign up for alerts