Critical PHP security release (PHP2Shell): what TYPO3 site owners must do now

PHP2Shell explained for TYPO3: the two critical PHP flaws, fixed versions, a 5-step check and how T3Planet helps.

Critical PHP security release (PHP2Shell): what TYPO3 site owners must do now

In short: On 21 October 2026 the PHP project released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. They fix two critical flaws, CVE-2026-109618 and CVE-2026-109619 (CVSS 9.2), that can let an attacker run code on a server without logging in. Every TYPO3 site runs on PHP, so every TYPO3 site is affected until its server runs a patched PHP version. Updating TYPO3 alone does not help: update PHP today, or let us check it for you for free.

PHP2Shell: the key facts

What
Two remote code execution flaws in the PHP engine, in memory and error handling php.net
CVE IDs
CVE-2026-109618 and CVE-2026-109619
Severity
Critical, CVSS v4.0 score 9.2 each
Login needed?
No. Attacks run during request start-up, before TYPO3 code runs
Affected
Every PHP setup that serves web requests: PHP-FPM, Apache mod_php (highest risk), php-cgi, FrankenPHP, LiteSpeed
Fixed in
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, released 21 Oct 2026, 14:00 UTC
PHP 8.1 and older
No official release. Only minimal source backports or fixes from LTS vendors
Exploited?
Yes. Exploitation in the wild is reported watchTowr
Your action
Check your version, update PHP today, restart every PHP worker, then look for signs of an attack

ACT NOW
Not sure which PHP version your TYPO3 site runs? We check it for free and send you a written next-step plan.

Get a free PHP security check

PHP2Shell is the name for two critical vulnerabilities in PHP itself, CVE-2026-109618 and CVE-2026-109619. Under the right conditions they let an unauthenticated attacker run their own code on a web server. They were fixed on 21 October 2026 in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35.

The flaws sit in the parts of PHP that nearly every request touches: memory management and error handling. That is why they affect every PHP application, not one CMS.

The two PHP2Shell vulnerabilities
CVENameWhat it does
CVE-2026-109618Remote code execution via out-of-memory corruptionA request that hits PHP's memory_limit at the wrong moment leaves half-built internal data behind, and PHP later treats it as valid. On Apache with mod_php this works before any application code runs, with default settings. It was also confirmed on PHP-FPM through application code paths.
CVE-2026-109619Remote code execution via stale global stateA fatal error at the wrong point can leave PHP pointing to memory from an earlier request. The next request on the same worker can then use that freed memory.

Both flaws affect every runtime that serves web requests: PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. The PHP project rates the risk highest for mod_php. According to the PHP Foundation, the root cause was first noticed during an external audit in 2024. Several security firms later showed working attacks, which made the fix the team's top priority.

Timeline: 2024 audit finds first signs, 11 Aug 2026 exploit reported, 20 Oct CVE IDs leak, 21 Oct fixed PHP released, attacks seen afterwards

PHP2Shell timeline, from the first audit to attacks in the wild.
  • 2024: an external security audit of PHP finds the first signs of the out-of-memory problem.
  • 11 Aug 2026: researchers report a working remote code execution with the same root cause.
  • 20 Oct 2026: the CVE IDs leak on social media; PHP brings its announcement forward.
  • 21 Oct 2026, 14:00 UTC: fixed versions are released, one day earlier than planned.
  • Since then: security firm watchTowr reports exploitation in the wild.

Because details leaked before the fix, attackers had a head start. Treat this as urgent.

Any server that runs PHP is affected, whatever the application: TYPO3, WordPress, Laravel or custom code. The bugs go back many years, so every PHP version is affected until it is patched.

PHP versions and the fixed releases
Your PHP versionFixed versionStatusWhat to do
8.5.x8.5.12Affected below fixUpdate to 8.5.12 or newer
8.4.x8.4.27Affected below fixUpdate to 8.4.27 or newer
8.3.x8.3.36Affected below fixUpdate to 8.3.36 or newer
8.2.x8.2.35Affected below fixUpdate to 8.2.35, then plan 8.3+ (8.2 ends 31 Dec 2026)
8.1 and olderNone (end of life)No official fixUpgrade PHP, usually together with TYPO3

What it means for your TYPO3 version

TYPO3 versions and the upgrade path
TYPO3 versionTypical PHPYour path
v14 LTS, v13 LTS8.2 to 8.5Patch PHP within your branch. Usually a quick package update.
v12 LTS8.1 to 8.4On 8.2 or newer: patch PHP. On 8.1: switch to PHP 8.2 or newer first.
v11 (ELTS)7.4 to 8.xOn 8.2 or newer: patch PHP. Otherwise upgrade PHP and plan the TYPO3 upgrade.
v10 and older7.xNo PHP fix possible. Upgrade TYPO3 and PHP, or take the site offline until then.

For PHP 7.4, 8.0 and 8.1 the PHP security team published minimal source backports for people who build PHP themselves, and some Linux distributions and LTS vendors ship backported fixes. Check with your vendor, or move to a supported PHP version. National cyber security agencies such as the UK NCSC advise taking systems offline if they cannot be fixed quickly. If your site needs more than a PHP patch, our parent company NITSAN plans and carries out the TYPO3 upgrade for you.

PHP2Shell checker: is your PHP version affected?

Paste your PHP version, the output of php -v, or an X-Powered-By header. The result appears instantly.

Runs only in your browser; nothing is sent to us. Where to find the version: TYPO3 backend › Admin Tools › Environment › Environment Status, your hosting panel, or the command below.

Check from your server (command line)
php -r 'echo PHP_VERSION, " ", PHP_SAPI, PHP_EOL;'
php -i | grep -E "session.upload_progress.enabled|memory_limit|post_max_size"

The command-line PHP can differ from the PHP that serves your website. To be sure, compare it with the version in TYPO3 Admin Tools.

Other PHP2Shell checkers
OpenAI php2shell-checkerOpen-source tool that reads the PHP version a site reveals or checks your server. Version check only, no exploit. View on GitHub
Pentest-Tools PHP2Shell scannerExternal scan of a website you own. Light scan free; deep scan needs a trial account. Open scanner

External scanners guess the version from headers. Many TYPO3 sites hide it, and Linux distributions often backport the fix without changing the version number. Treat "unknown" as "not confirmed safe".

  • Full server takeover: an attacker could read your database, steal customer data or plant malware, with no TYPO3 login needed.
  • GDPR duty: a personal data breach may have to be reported to the supervisory authority within 72 hours (Art. 33 GDPR).
  • Revenue and rankings: a hacked shop or company site loses sales, search visibility and trust; Google may flag it as unsafe.
  • Old setups are stuck: if your TYPO3 version cannot run on PHP 8.2 or newer, you need a TYPO3 upgrade, not only a PHP update.

PHP2Shell is one more reason to harden TYPO3 itself. Our 30-point TYPO3 security checklist covers the rest.

Five steps: find PHP version, compare with fixed versions, update PHP, reduce risk, check for signs of attack

  1. Find your PHP version. In the TYPO3 backend open Admin Tools › Environment › Environment Status, check your hosting panel, or run php -v. The command-line PHP and the web server PHP can differ.
  2. Compare it with the fixed versions. 8.5.12, 8.4.27, 8.3.36, 8.2.35 or newer in the same branch are safe from these two flaws. Use the PHP2Shell checker above.
  3. Update PHP and restart every worker. On managed hosting, check your host's status page and ask for the update. On your own server, install your distribution's updated packages or the official release, then restart PHP-FPM or Apache so no old worker keeps running.
  4. Can't update today? Reduce the risk. Apply the settings below in php.ini, the FPM pool or the Apache config, then restart every worker. Do not rely on ini_set() or .user.ini. These settings reduce the risk but do not make PHP safe.
  5. Check for signs of an attack. Look for unknown PHP files in fileadmin/ and typo3temp/, new or changed backend users, memory-exhaustion errors reported as "Unknown on line 0", and PHP workers that start a shell.

Temporary settings from the PHP security advisory:

; CVE-2026-109619, all branches
session.upload_progress.enabled = 0
; CVE-2026-109619, PHP 8.5 only
fatal_error_backtraces = 0
; CVE-2026-109618 (FPM: php_admin_value)
memory_limit = -1
post_max_size = 8M   ; 32M if you need uploads

Example update on your own Debian or Ubuntu server (package names depend on your PHP source):

sudo apt update && sudo apt install --only-upgrade 'php8.3*'
sudo systemctl restart php8.3-fpm     # or: apache2 for mod_php
php -r 'echo PHP_VERSION, PHP_EOL;'
find fileadmin typo3temp -name '*.php' -newermt '2026-10-17'

Datadog Security Labs reports first attack attempts from 17 October 2026, so check your logs from that date.

Running TYPO3 v10, v11 or v12 on PHP 8.1 or older? A patch alone is not possible. We plan the PHP and TYPO3 upgrade with you, with a fixed scope. Background: TYPO3 update vs upgrade.

Plan my PHP + TYPO3 upgrade

T3Planet builds and supports TYPO3 templates and extensions every day, so we know which PHP versions each TYPO3 setup needs. T3Planet is the TYPO3 product brand of NITSAN GmbH, our parent company and a TYPO3 Association Gold Member. Every request is handled by NITSAN's team of more than 20 TYPO3 developers.

Our PHP2Shell services
ServiceWhat you getFor whom
Free PHP security checkWe check your PHP version, TYPO3 version and hosting, and send a written next-step planEvery TYPO3 site
Emergency PHP updateWe patch PHP on your server or coordinate with your host, restart every worker and test the siteSites on PHP 8.2 to 8.5
Compatibility checkWe test your T3Planet templates and extensions on the patched PHP versionT3Planet customers
PHP + TYPO3 upgradeUpgrade to TYPO3 v13 or v14 LTS on a supported PHP version, with a fixed scopeSites on PHP 8.1 or older
Clean-up after an attackWe look for backdoors, remove them and restore a clean, hardened siteSites with signs of an attack

How we help: our process from request to secure site

  1. Request

    You send the short form below or open a support ticket.

    Step 1 · 2 minutes
  2. Free check

    We review your PHP version, TYPO3 version and hosting, and confirm whether PHP2Shell affects you.

    Step 2 · free
  3. Plan and quote

    You get a written plan with a fixed scope and price. Nothing starts without your OK.

    Step 3 · no obligation
  4. Fix

    We patch PHP or run the upgrade, on your server or together with your host, and restart every worker.

    Step 4 · fixed scope
  5. Test and verify

    We test front end, backend, forms and extensions, and scan for signs of an attack.

    Step 5 · checked
  6. Report

    You get a short report of what changed and what to watch next.

    Step 6 · documented

Why TYPO3 teams trust us

GoldTYPO3 Association Gold Member (NITSAN GmbH)
20+TYPO3 developers at our parent company NITSAN
3German offices: Dresden, Berlin, Viernheim
DACHGerman-speaking support and GDPR-aware processes

Request a free PHP security check

Tell us your website and PHP version and choose a service. Our TYPO3 team replies within one business day.

*Please enter value
*Please Enter Email

PHP2Shell is the name security researchers gave to two critical PHP flaws, CVE-2026-109618 and CVE-2026-109619. Both are rated 9.2 (CVSS v4.0) and can let an attacker run code on a server without logging in. They were fixed on 21 October 2026 in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35.

No. The flaws are in PHP, not in TYPO3, its extensions or templates. A TYPO3 site is at risk because it runs on PHP, so updating PHP is the fix.

PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 or newer in the same branch. PHP 8.1 and older are end of life and get no official release; only minimal source backports and fixes from some LTS vendors exist.

Use the PHP2Shell checker on this page: paste your PHP version or the output of php -v and you get the result instantly. Read the version in TYPO3 under Admin Tools › Environment › Environment Status, because the command-line PHP can differ from the web server PHP.

Not for these two flaws, as long as your PHP version can be patched. If you run PHP 8.1 or older, you must upgrade PHP, and an older TYPO3 version may need an upgrade to run on it.

Many hosts have patched or added protection. Check your exact PHP version anyway with the checker on this page, and ask your host whether all PHP workers were restarted.

Only partial ones. Setting session.upload_progress.enabled = 0, fatal_error_backtraces = 0 on PHP 8.5, memory_limit = -1 and a small post_max_size reduces the risk. The PHP project says only the update is a complete fix.

Datadog Security Labs reports first attack attempts from 17 October 2026, four days before the fix, and watchTowr reports exploitation in the wild. Check your logs from 17 October onwards.

The fixes are patch releases within the same PHP branch, so no code changes should be needed. We test your setup on request as part of the compatibility check.

We look at your PHP version, TYPO3 version and hosting setup, tell you whether you are affected, and give you a written next-step plan. There is no cost and no obligation.

T3Planet is the TYPO3 product brand of NITSAN GmbH, our parent company and a TYPO3 Association Gold Member with more than 20 TYPO3 developers and offices in Dresden, Berlin and Viernheim.

Remote code execution (RCE)

An attacker makes your server run their own code, which usually means full control of the site.

CVE

Common Vulnerabilities and Exposures, the public ID for a known security flaw.

CVSS

Common Vulnerability Scoring System, a 0 to 10 severity score. 9.0 and above is critical.

mod_php and PHP-FPM

Two ways a web server runs PHP. mod_php runs inside Apache; PHP-FPM runs as a separate process pool.

End of life (EOL)

A version that no longer gets security fixes, such as PHP 8.1 and older.

Don't wait for an attack. Get a free check today. Existing T3Planet customer? Open a support ticket and we prioritise it.

Get my free PHP security checkOpen a support ticket

Looking for the Right TYPO3 Products for Your Project?

Explore professional products from T3Planet Shop, including TYPO3 templates, TYPO3 extensions, and AI-powered extensions for modern TYPO3 websites.

  • TYPO3 Templates for flexible and scalable websites
  • TYPO3 Extensions for added features and functionality
  • AI Extensions for content, search, accessibility, localization, and automation
  • Free & Premium products for different TYPO3 project needs
Explore T3Planet Shop
T3Planet Shop TYPO3 Products

Post a Comment

×