PHP security alert · 21 October 2026

PHP Remote Code Execution (RCE) Vulnerability Fixes & Hosting Support

This PHP security alert covers critical remote code execution (RCE) flaws CVE-2026-109618 and CVE-2026-109619. Updating to the PHP 8.2 / 8.3 / 8.4 / 8.5 security patch releases is the only complete way to fix a PHP vulnerability on a server. LC Solutions provides PHP RCE emergency support in the UK for existing and new customers.

What are the recent PHP Remote Code Execution (RCE) vulnerabilities?

CVE-2026-109618 and CVE-2026-109619 are critical PHP RCE vulnerabilities disclosed on 21 October 2026. They are often called PHP2Shell. The PHP Group rates each CVSS 4.0 base 9.2. Unauthenticated attackers can reach them on many web PHP setups.

CVE-2026-109618 is remote code execution via out-of-memory corruption. CVE-2026-109619 is remote code execution via stale global state. Both affect PHP installations that serve web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed. Risk is highest for mod_php.

CVE-2026-109618

Out-of-memory corruption

Out-of-memory handling can leave request memory partly initialised. Cleanup can then treat invalid data as valid and lead to RCE.

CVE-2026-109618 details

CVE-2026-109619

Stale global state

Request-owned state can survive after its memory is freed. A later request on the same worker may use that stale state and lead to RCE.

CVE-2026-109619 details

How to check if your server or website is vulnerable?

You are vulnerable if any internet-facing PHP runtime is below the fixed releases, or is an older branch without a vendor backport. Check every server, container, and bundled PHP copy, not only the main website.

  • Run php -v on each host, or check the version reported by your control panel or FPM pool.
  • Treat these as vulnerable until patched: PHP 8.5 before 8.5.12, PHP 8.4 before 8.4.27, PHP 8.3 before 8.3.36, PHP 8.2 before 8.2.35.
  • PHP 8.1 and older need a distribution or LTS backport, or an upgrade to a supported branch.
  • Review Docker images, WordPress/PHP appliances, and third-party products that ship their own PHP binary.

PHP 8.2 / 8.3 / 8.4 / 8.5 security patch versions

Updating is the only complete RCE fix. Restart PHP workers after the new build is in place.

Patched PHP releases for CVE-2026-109618 and CVE-2026-109619.
Branch Affected Install
PHP 8.5 Earlier than 8.5.12 8.5.12
PHP 8.4 Earlier than 8.4.27 8.4.27
PHP 8.3 Earlier than 8.3.36 8.3.36
PHP 8.2 Earlier than 8.2.35 8.2.35 (end of life 31 December 2026)
PHP 8.1 and older Affected; no routine upstream updates Vendor backport or move to a supported branch

How to fix a PHP vulnerability on your server

Apply the matching PHP security patch, restart every PHP worker, then confirm the version. Temporary php.ini changes reduce some exposure paths but do not replace the update.

  1. 1
    Inventory every PHP runtime on servers, containers, serverless layers, and third-party products.
  2. 2
    Install the patched release: PHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35 (or your distributor’s package that includes those fixes).
  3. 3
    Restart workers so no process keeps the old binary or stale request state.
  4. 4
    Verify and monitor: confirm php -v, then watch web and host logs for unexpected processes, files, or outbound connections.

How LC Solutions fixes PHP RCE vulnerabilities for clients

We provide PHP RCE emergency support UK-wide: find affected runtimes, apply the PHP security patch, restart workers, and harden hosting where needed. Existing and new customers can get help through our contact form.

  • PHP patching: apply CVE-2026-109618 and CVE-2026-109619 fixes on managed websites and servers.
  • Hosting support: coordinate with your host or control panel so the correct PHP package is live.
  • Server migration: move workloads onto a supported PHP branch when older runtimes cannot be backported safely.
  • Security audits: code-level reviews and cleanup paths covered on our FAQ and Services pages.

Need PHP RCE emergency support in the UK? Email info@lowcostsolutions.co.uk or use the contact page.

Official sources (primary references)

This advisory is verified against primary technical sources. Follow the vendor pages for the authoritative text.

Need PHP RCE emergency support?

LC Solutions can fix these PHP vulnerabilities on your server.

Contact us