Skip to content
Introducing AI OS for Business & School — our most powerful products yet.Explore →
App Corp iconApp Corp
Active threat advisoryCVSS v4.0 9.2CVE-2026-109618 · CVE-2026-109619

PHP2Shell: CVE-2026-109618 and CVE-2026-109619

Two critical PHP engine flaws allow unauthenticated remote code execution and cross-request memory disclosure. WordPress, Drupal, Joomla, Laravel, and custom PHP sites are affected until the runtime is patched.

Fixed releases:8.5.128.4.278.3.368.2.35

Disclosed 20–21 October 2026 · Reviewed 27 October 2026

What happened

On 20–21 October 2026, PHP released emergency fixes for two memory-safety flaws in the PHP engine. Both run before application code, so a vulnerable build can be exploited without a login, a plugin, or a WordPress vulnerability.

Governments in France, Denmark, Finland, and the Netherlands took websites offline while they patched. The fixes are 8.5.12, 8.4.27, 8.3.36, and 8.2.35. PHP 7.4, 8.0, and 8.1 received source-only backports; 7.3 and older received no fix at all.

Who is affected

Any website served by an unpatched PHP runtime. That includes WordPress, Drupal, Joomla, Laravel, and custom PHP applications, on shared hosting, managed WordPress, VPS, and self-managed servers.

Apache with mod_php carries the highest demonstrated risk because the flaw runs before application code. PHP-FPM, php-cgi, FrankenPHP, and LiteSpeed are also affected.

Fixed releases

Upgrade to the fixed release for your branch. If your host uses a different branch, ask for the exact build identifier and the date the fix was applied.

BranchFixed release
PHP 8.58.5.12
PHP 8.48.4.27
PHP 8.38.3.36
PHP 8.28.2.35

How to check your PHP version

  1. 1WordPress Site Health: Open Tools → Site Health → Info → Server and read the PHP version line. This reports the version serving web requests.
  2. 2Hosting panel: In cPanel use MultiPHP Manager or Select PHP Version. In Plesk open PHP Settings for the domain.
  3. 3Command line: On a VPS run `php -v`, and also confirm the PHP-FPM pool version — CLI and web requests can differ.
  4. 4Backports: Debian, Ubuntu, and RHEL often backport security fixes without changing the version string. If the number looks old, ask the vendor for the patch level in writing.

7.3 and older

PHP 7.4, 8.0, and 8.1 received source-only backports. PHP 7.3 and older received no fix; upgrading the branch is the only remediation.

How the free scan reports it

The scan checks the publicly observable PHP runtime. When the version is visible it compares it with the affected ranges. When the version is hidden, it raises an unverified worst-case alert instead of staying silent.

Observed PHP version is affected

The observed PHP runtime is inside the published PHP2Shell affected range.

Cannot rule out — version hidden

The site indicates it runs PHP, but the runtime version was not observable. If the origin is unpatched, PHP2Shell exposes it to unauthenticated remote code execution.

Fixed release observed

The observed PHP runtime is at or above the fixed release for its branch. A CDN or proxy may be reporting the version.

No PHP runtime detected

No PHP version header, .php endpoint, or WordPress runtime hint was observed. A proxy can hide the runtime entirely.

Not assessed in this report

This report does not contain a PHP2Shell assessment. Run a new scan to include it.

PHP2Shell questions

Is my WordPress site affected by PHP2Shell?

It depends on the PHP build serving the site, not on the WordPress version. If the server runs PHP 7.3 or older, an 8.2–8.5 release below the fixed version, or an unpatched 7.4/8.0/8.1 branch, the site is exposed even when WordPress core, themes, and plugins are fully updated.

Which PHP versions fix PHP2Shell?

The fixed releases are PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. PHP 7.4, 8.0, and 8.1 received source-only backports, and PHP 7.3 and older received no official fix.

My host says the version looks old but is patched. Can that be true?

Yes. Distributions backport security fixes without changing the version string. Ask the host for the exact build, the vendor advisory reference, and the date the patch was applied and PHP-FPM restarted. Until that is confirmed, treat the runtime as exposed.

Does updating WordPress fix PHP2Shell?

No. WordPress updates do not change the PHP runtime. The PHP build on the server must be upgraded or replaced.

Does the free scan exploit my site?

No. It performs a bounded, non-invasive review of public signals only. It does not execute exploits, attempt logins, upload files, or crawl. It reports what was observed and what needs verification.

This advisory is informational. It does not claim that any specific website is compromised, and a patched version does not prove that no incident occurred.

Check the runtime before anything else

The free scan tells you whether the PHP2Shell check could be completed, whether the observed version is affected, and what to verify next. Patching the runtime always comes before a migration.

We value your privacy

We use strictly necessary cookies to keep our site secure and functional. With your consent, we also use performance cookies to understand how you interact with our site, and functional cookies to remember your preferences. Read our full Cookie Policy