PHP Critical Security Fix Released


Please do the following in your php.ini files for vulnerability CVE-2026-115560

List installed PHP versions

ls -l /etc/php/

Update PHP-FPM Configuration

Update the php.ini file for each active PHP-FPM version.

PHP Version Configuration File
PHP 8.2 /etc/php/8.2/fpm/php.ini
PHP 8.3 /etc/php/8.3/fpm/php.ini
PHP 8.4 /etc/php/8.4/fpm/php.ini

For PHP 8.2

sudo nano /etc/php/8.2/fpm/php.ini

Find

;session.upload_progress.enabled = On

Change it to

session.upload_progress.enabled = 0

Do the same for the rest of the PHP versions on your server.

Restart PHP services

sudo systemctl restart php8.2-fpm

Restart the web server too

sudo systemctl reload apache2

or

sudo systemctl reload nginx


Verify Configuration

grep -H "^session.upload_progress.enabled" /etc/php/*/fpm/php.ini

NEWS

  1. CISA Confirms Active Exploitation of Two PHP2Shell Flaws Enabling Remote Code Execution
  2. PHP Issues Second Windows Security Update in Five Days to Fix Brotli Code Execution Flaw