Security alert · October 21, 2026

Critical PHP vulnerabilities allow remote code execution

CVE-2026-109618CVE-2026-109619CVSS 9.2 · Critical

Need help? Message us, we're here to protect your business.

On October 21, 2026, the PHP project disclosed two critical vulnerabilities (CVSS 9.2) that let an unauthenticated attacker execute code on servers running PHP. All versions from PHP 5.4 through 8.5.11 are affected.

Severity

CVSS 9.2 · Critical

Impact

Unauthenticated remote code execution, memory disclosure and denial of service (DoS)

Exposure

Demonstrated on Apache mod_php with default settings; also confirmed on PHP-FPM

The two vulnerabilities

CVE-2026-109618 · GHSA-w8hw-w9fx-j79w

RCE via out-of-memory (OOM) corruption

If a request hits PHP's memory_limit at exactly the wrong moment, PHP can leave partially initialized internal data behind and later treat it as valid, corrupting memory. On Apache with mod_php, an unauthenticated request can trigger it before any application code runs.

CVE-2026-109619 · GHSA-6wmf-4rv5-p3rp

RCE via stale global state (use-after-free)

A fatal error at the wrong point can leave internal state pointing to memory from a previous request. A later request handled by the same worker can then use that freed memory, leading to crashes and remote code execution.

Affected versions

Every PHP version from 5.4 through 8.5.11 is affected. Fixes are available only for supported branches.

BranchVulnerable versionsFixed inWhat to do
PHP 8.58.5.11 and earlier8.5.12Update now
PHP 8.48.4.26 and earlier8.4.27Update now
PHP 8.38.3.35 and earlier8.3.36Update now
PHP 8.28.2.34 and earlier8.2.35Update now
PHP 5.4 – 8.1All versionsNo fix (end of life)Migrate to a supported version

PHP 8.1 and earlier are end of life and will not receive a fix. The only safe path is migrating to a supported version.

What to do now

  1. 01Find out which PHP version your website or web system runs (ask your hosting provider or development team if you're not sure).
  2. 02If you're on a supported branch, update to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35 or later.
  3. 03If you're on PHP 8.1 or earlier, plan an urgent migration to a supported version.
  4. 04Review your servers and logs for signs of compromise, and contact us if you need help at any step.

Does your website run an affected PHP version, or you're not sure?

Contact us and we'll review and protect your site. Don't wait until you get hacked: our team has extensive security experience and we're here to protect your business.

Need help? Message us, we're here to protect your business.

Sources

Back to home