Intel

AIKIDO-2026-310500

php is vulnerable to Remote Code Execution (RCE)

CVE-2026-115560Published Oct 23, 2026
October 23, 2026

88

CVE Score

High

Remote Code Execution (RCE)

Are you affected? Scan for Free

TL;DR

Affected versions of PHP are vulnerable to remote code execution when session upload progress writes data with one session serializer and application code switches to the php serializer before starting the session. The serializer mismatch can cause crafted session data to be interpreted unsafely.

How do I fix this?

No patched release is currently available. On RHEL and Amazon Linux 2, add session.upload_progress.enabled = 0 as /etc/php.d/99-upload-progress.ini. When httpd loads mod_php, also set php_admin_flag session.upload_progress.enabled off in the Apache config and restart httpd. When FPM is installed, lock php_admin_flag[session.upload_progress.enabled] = off in /etc/php-fpm.d/www.conf and restart php-fpm. On Debian and Ubuntu, add php_admin_flag[session.upload_progress.enabled] = off to /etc/php/<version>/fpm/pool.d/www.conf and restart php<version>-fpm, or set php_admin_flag session.upload_progress.enabled off in the Apache server config and restart apache2. ini_set() and FPM .user.ini do not apply in time. Applications that never change session.serialize_handler at runtime can keep upload progress enabled. Keep this mitigation in place until PHP publishes a fixed release.

Who does this affect?

You are affected if session.serialize_handler is configured as php_binary or php_serialize, application code changes it to php with ini_set() before calling session_start(), and session upload progress remains enabled. Applications that never change the session serialization handler at runtime are not exposed through this path.

Package

php

Versions

5.4.0 - 8.5.12

No fix available

Background info

php is vulnerable to Remote Code Execution (RCE) in versions 5.4.0 - 8.5.12.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea