Updating Joomla does not patch PHP2Shell. The vulnerabilities are in the PHP engine beneath your website. Your next step is to identify the PHP runtime serving your domain, confirm its security patch with your host and test the site after the change. A recent Joomla release or a working homepage is not evidence that PHP is patched.
23 October update: from thousands to millions of attempts
PHP2Shell exploitation attempts escalated rapidly across Cloudflare’s network around the public announcement. By 22 October, the reported volume had reached millions of attempts:
These are approximate volumes reported across Cloudflare’s network, not Joomla-specific counts or numbers of successfully compromised websites. Exact totals and unique-target counts were not provided in the update. Source: Cloudflare CEO Matthew Prince, 22 October.
Separately, Cisco Talos observed attempts within hours of disclosure, predominantly scanning and uncoordinated payload delivery. The practical takeaway for Joomla owners: confirm the PHP patch now; a working website does not establish that its runtime is patched. Talos telemetry · 23 October news coverage.
1. Is my Joomla site affected by PHP2Shell?
CVE-2026-109618 concerns out-of-memory corruption; CVE-2026-109619 concerns stale internal state. Both are rated CVSS 9.2 and can allow unauthenticated remote code execution. PHP lists web-serving installations including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed as at risk. Its advisory identifies mod_php as the highest risk, with a demonstrated path before application code runs. PHP security advisory. Technical details: OOM corruption advisory and stale-state advisory.
Wiz demonstrated pre-authentication code execution on Joomla container images as part of its research. This is not an extension-specific Joomla bug: secure application code does not remove an affected PHP runtime. Updating Joomla, changing an administrator password or installing a Joomla security plugin is not a substitute for the PHP fix. Wiz research and Joomla demonstration.
2. Which PHP release contains the fix?
The PHP project's 21 October releases contain the fixes below. These are upstream patch thresholds for these two CVEs, not a guarantee that a website is free of every vulnerability.
| PHP branch | First upstream release containing the fixes |
|---|---|
| 8.5 | 8.5.12 |
| 8.4 | 8.4.27 |
| 8.3 | 8.3.36 |
| 8.2 | 8.2.35 |
| 8.1 and older | No regular upstream security releases. Verify a vendor-maintained backport or plan a move to a supported branch. |
PHP also published minimal source backports for 7.4, 8.0 and 8.1 to assist maintainers. Their existence does not mean your host installed them. Ask for the package revision and vendor advisory covering both CVEs. Release and backport guidance.
24 October: php.net published an informational advisory on 23 October (CVE-2026-115560, full details with the next release): keep session.upload_progress.enabled = 0 until the next regular bugfix release. It only affects code that switches session.serialize_handler at runtime. Joomla 6.2 core doesn't, and core doesn't use upload progress either, so leaving it off is free. If you removed it after patching, put it back.
3. How do I verify the PHP my website actually uses?
- Check the web runtime. In Joomla administration, open System → System Information and record the PHP version. Confirm the PHP handler and package/build with your host. A shell command such as
php -vcan report a different CLI installation. - Match the patch to that runtime. Record the upstream release or vendor backport evidence for both CVEs. An older-looking version is not enough to declare a vendor build vulnerable; a hosting-panel version selection alone is not enough to prove it has been patched.
- Confirm the running workers. Ask the server administrator to confirm the updated packages are in use and all affected PHP workers have been restarted. Check other PHP services, cron jobs and subdomains separately where relevant.
- Record the result. Use “patch verified”, “vendor evidence pending” or “update required”, with the date, domain and evidence. Avoid a blanket “site safe” label.
On your own VPS or dedicated server, update the packages and restart every PHP worker – an upgraded package does nothing until the running workers are replaced:
# terminal – Debian / Ubuntu (package names depend on your repository)
apt update
apt list --upgradable 2>/dev/null | grep php
apt install --only-upgrade 'php8.3-*' # and php8.4-*, … for every version you run
systemctl restart php8.3-fpm # every FPM service; Apache too if it runs mod_php
systemctl show -p ActiveEnterTimestamp php8.3-fpm # restart time must be after the upgrade
For a fuller checklist and a message you can send your provider, read how to verify your Joomla hosting has patched PHP.
4. My host says it is patched. What should I ask for?
Please confirm the PHP runtime and handler serving my domain, the installed package/build revision and the advisory showing fixes for CVE-2026-109618 and CVE-2026-109619. If this is a backport, please provide the vendor reference. Please also confirm that all affected workers have been restarted and are using the updated build.
If your hosting provider manages the packages, it controls the patch rollout. We can help interpret its response and test Joomla; we cannot replace missing server access or independently certify a proprietary build without evidence.
5. What if a PHP upgrade breaks Joomla?
A security patch within the same branch and a move to a newer PHP branch are different changes. First establish whether your current branch has a maintained patch. If you need a branch upgrade, inventory Joomla, extensions, template overrides and custom code; test an isolated staging copy; then agree the production window and rollback conditions.
For a blank page, HTTP 500 response or failing feature after a PHP change, follow our Joomla PHP upgrade diagnosis and recovery guide. For PHP 8.2, plan beyond the immediate patch: its upstream security support ends on 31 December 2026. See the PHP 8.2 end-of-life upgrade plan.
If you cannot patch immediately, have your host evaluate the temporary measures in the official advisory. PHP states that these reduce specific attack paths but do not provide complete protection. They must be set where PHP reads them before the request is parsed – php.ini, the FPM pool or the server configuration, not .user.ini or ini_set() – and every worker restarted:
; php.ini or FPM pool – temporary, until PHP is updated
session.upload_progress.enabled = 0 ; blocks the confirmed session path – keep it after patching too
post_max_size = 32M ; 8M if the site takes no uploads
upload_max_filesize = 30M ; below post_max_size
fatal_error_backtraces = 0 ; PHP 8.5 only
- Uploads in Joomla: 32M covers normal media uploads. Large extension packages and Akeeba archives go by SFTP while the limit is low.
memory_limit = -1is also in the advisory. On a server that hosts many sites, an unlimited PHP process can take the whole machine down – only with a container or cgroup memory limit around PHP.- A Joomla setting, a security extension or a firewall rule does not replace the patch.
6. We patched PHP. Could the site already have been compromised?
Patching closes the addressed vulnerability; it does not establish what happened before the update. Preserve available web, PHP, firewall and hosting logs. Note the exposure window and investigate unexpected files, administrator accounts, scheduled jobs or outbound activity with someone who can assess the server as well as Joomla.
A suspicious request is not proof of a successful intrusion, and a clean log search is not proof that none occurred. If you find suspicious activity, preserve the evidence and agree a separate investigation and recovery scope before deleting files or making broad changes. A patch-verification report is not a malware-cleanliness certificate.
What we did on our own servers
Our servers run PHP from the CloudPanel repository, which had no fixed builds on the day of the advisory: the newest packages were one release short (8.2.34, 8.3.35, 8.4.26, 8.5.11). We applied the temporary settings above to every PHP version on both servers and restarted all PHP-FPM services the same morning. On 22 October CloudPanel published 8.2.35, 8.3.36, 8.4.27 and 8.5.12. On the main server we installed them by hand and restarted every pool; the demo server had installed them by itself at 03:09 and restarted FPM at 03:11. We then removed the temporary limits for 8.2–8.5, and kept them for the old versions that get no fix.
