Intel

AIKIDO-2026-403556

php8.5 is vulnerable to Remote Code Execution (RCE)

CVE-2026-109619Published Oct 21, 2026
October 21, 2026

99

CVE Score

Critical

Remote Code Execution (RCE)

Are you affected? Scan for Free

TL;DR

Affected versions of PHP are vulnerable to unauthenticated remote code execution. Request-owned session, error, or extension state can survive after its memory is freed, and a later request on the same worker can use that state before initialization resets it. Confirmed paths include session upload progress, early INI diagnostics, and fatal error backtraces.

How do I fix this?

Upgrade php8.5 to the patch version. Until the update is installed, on Debian and Ubuntu, add php_admin_flag[session.upload_progress.enabled] = off to /etc/php/8.5/fpm/pool.d/www.conf and restart php8.5-fpm, or lock Apache with php_admin_flag session.upload_progress.enabled off and restart apache2. On Amazon Linux 2023, add session.upload_progress.enabled = 0 as /etc/php.d/99-upload-progress.ini, lock php_admin_flag[session.upload_progress.enabled] = off in /etc/php-fpm.d/www.conf, and restart php-fpm. On Elastic Beanstalk, write that drop-in from .ebextensions or a platform hook. ini_set() and FPM .user.ini do not apply in time. Remove per-request INI settings that warn before initialization. Also set fatal_error_backtraces = 0 in that same configuration and lock it with php_admin_flag, so ini_set() cannot turn it back on. These settings block confirmed paths only, so the temporary mitigation may not be sufficient.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the install serves untrusted web requests from a worker that handles more than one request. Session upload progress is enabled by default.

Package

php8.5

Versions

8.5.0 - 8.5.11

Fixed in 8.5.12

Background info

php8.5 is vulnerable to Remote Code Execution (RCE) in versions 8.5.0 - 8.5.11.

Links

Other

php.net/archive/2026.php#2026-10-20-1
https://www.php.net/archive/2026.php#2026-10-20-1
openwall.com/lists/oss-security/2026/10/21/16
http://www.openwall.com/lists/oss-security/2026/10/21/16
openwall.com/lists/oss-security/2026/10/21/17
http://www.openwall.com/lists/oss-security/2026/10/21/17
openwall.com/lists/oss-security/2026/10/21/23
http://www.openwall.com/lists/oss-security/2026/10/21/23
openwall.com/lists/oss-security/2026/10/21/7
http://www.openwall.com/lists/oss-security/2026/10/21/7
openwall.com/lists/oss-security/2026/10/22/14
http://www.openwall.com/lists/oss-security/2026/10/22/14
openwall.com/lists/oss-security/2026/10/22/15
http://www.openwall.com/lists/oss-security/2026/10/22/15
openwall.com/lists/oss-security/2026/10/22/16
http://www.openwall.com/lists/oss-security/2026/10/22/16
openwall.com/lists/oss-security/2026/10/22/19
http://www.openwall.com/lists/oss-security/2026/10/22/19
openwall.com/lists/oss-security/2026/10/22/2
http://www.openwall.com/lists/oss-security/2026/10/22/2
openwall.com/lists/oss-security/2026/10/22/20
http://www.openwall.com/lists/oss-security/2026/10/22/20
openwall.com/lists/oss-security/2026/10/23/4
http://www.openwall.com/lists/oss-security/2026/10/23/4
arcticwolf.com/resources/blog/php2shell-critical-php-vulnerabilities-enable-unauthenticated-remote-code-execution/
https://arcticwolf.com/resources/blog/php2shell-critical-php-vulnerabilities-enable-unauthenticated-remote-code-execution/
cert-portal.siemens.com/productcert/html/ssa-166980.html
https://cert-portal.siemens.com/productcert/html/ssa-166980.html
cert-portal.siemens.com/productcert/html/ssa-566435.html
https://cert-portal.siemens.com/productcert/html/ssa-566435.html
cert-portal.siemens.com/productcert/html/ssa-566512.html
https://cert-portal.siemens.com/productcert/html/ssa-566512.html
php2shell.delftintellab.com/
https://php2shell.delftintellab.com/
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-109619
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-109619
wiz.io/blog/php2shell-php-rce
https://www.wiz.io/blog/php2shell-php-rce

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