PHP updates in 2 hours: Upcoming Critical PHP Security Release

https://www.php.net/archive/2026.php#2026-10-20-1

“The PHP security team would like to give advance notice of an upcoming security release. It is scheduled for Wednesday, 21 October 2026 at 14:00 UTC. It addresses two critical vulnerabilities, both rated CVSS v4.0 9.2.”

Thanks for the heads-up, Marc!

Meanwhile, users could disable upload progress by adding the following to the site’s PHP-FPM pool file:

php_admin_flag[session.upload_progress.enabled] = Off

Advisory from php.net

Something important with Remi Repo from PHP: News Archive - 2026

  • If you rely on the volunteer-maintained rpms.remirepo.net, we urge you to switch to distribution packages or build from source, so you can immediately apply updates. The repo will not have updates today. * If you rely on the volunteer-maintained rpms.remirepo.net, we urge you to switch to distribution packages or build from source, so you can immediately apply updates. The repo will not have updates today.

Also, I think Cloudflare had updated their WAF rules to avoid these attacks.

Remi has released a patch for RHEL (etc). Looks like it’s propagating out now.

I’m assuming if FPM used,
can we revert to FCGId ?

apologiesif I’m not understanding fully, thanks

yes, I misunderstood. it does need the PHP upgrade

I installed Remi updates!

php -v
PHP 8.5.12 (cli) (built: Oct 19 2026 17:02:46) (NTS gcc x86_64)
Copyright (c) The PHP Group
Built by Remi's RPM repository <https://rpms.remirepo.net/> #StandWithUkraine #NoAI
Zend Engine v4.5.12, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.12, Copyright (c), by Zend Technologies

Patched on alma9 on remi repo

I do think the most ones were already released. Sury did release the fixes for his Debian repo already.

This is what I did:

Temporary fix:

vm > domain.name > php config > edit config manually

Add lines:

php_admin_flag[session.upload_progress.enabled] = Off
php_admin_value[memory_limit] = -1
php_admin_value[post_max_size] = 8M
php_admin_value[upload_max_filesize] = 2M

Then restart PHP. This will shield against the immediate, confirmed attack paths.

Then followed instructions here to upgrade to PHP 8.3:

Then:

vm > domain.name > php options > switch to php 8.3

Then remove the lines from the temp fix above: vm > domain.name > php config > edit config manually

Restart php.

stupid question, how do people here know what the affected settings are yet PHP have not actually release information?

Can someone point me to the fountain of information so I can have a look :smiley:

tar

The PHP folks have released information, as have the researchers who reported the bugs.

This post from the PHP folks covers the mitigation for the stale global state issue:

But, the right mitigation is updating to current versions.

The fix for these two CVEs should be available for all the PHP releases in the repository. The amd64 architecture will be available first with arm* following as they are built.

But I will start moving my old sites soon :smiley:

thanks very much for all your help, much appreciated.

Following these security issues, I have updated PHP to the latest available versions on my AlmaLinux 9.8 server. I currently have PHP 8.0.30, 8.3.36, and 8.4.27 installed, and I have migrated all my websites to PHP 8.4.

However, I would like to completely remove PHP 8.0 from the server. Is there an easy way to do this through Virtualmin, or would I need to remove it manually from the command line?

Thanks in advance for your help!

I have not used this yet

Webmin --> Tools --> PHP Configuration --> Manage PHP Packages