PHP has released security updates for its supported 8.2 through 8.5 branches, fixing a critical session-handling vulnerability that can allow remote code execution under specific configurations. The updates were published on November 19 and include PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36.

The flaw, tracked as CVE-2026-115560, affects PHP’s session upload progress feature and carries a CVSS 4.0 score of 9.2. The PHP project’s security advisory says the feature can write attacker-controlled data using one session serialization format and later read it using another. If the reading application has a suitable object gadget chain, the mismatch can trigger code execution with the privileges of the PHP worker.

Exploitation depends on a particular setup. Session upload progress must be enabled, an attacker must be able to submit a multipart upload to a context using the php_binary or php_serialize session serializer, and a later or concurrent operation must read the same stored session using the php serializer. The mismatch can occur between separate applications, PHP-FPM pools, virtual hosts or command-line processes that share session storage; the advisory says a runtime configuration change is not always required.

The project lists PHP 8.2.0 through 8.2.35, 8.3.0 through 8.3.36, 8.4.0 through 8.4.27 and 8.5.0 through 8.5.12 as affected. The corresponding fixed releases are 8.2.36, 8.3.37, 8.4.28 and 8.5.13. The official changelog also records security fixes across core, CGI, FPM, session, Phar, SOAP and other components.

The fix disables session upload progress by default and rejects runtime changes to session settings, including session.serialize_handler, while upload progress is enabled. The advisory notes that installations which explicitly keep the feature enabled must use the same serializer for every process that reads or writes the shared session data. It also warns that older unsupported PHP releases may be affected because session upload progress was introduced in PHP 5.4.0.

READ
Optimizely Hack Injected Malware Into 178 Organizations’ Sites

The release confirms the fixed versions that the PHP team had not yet identified in its November 18 advance notice. The same session-upload-progress issue was described in an earlier PHP advisory report; the PHP project’s new notice identifies the patch versions for each supported branch.


Buy ExpressVPN with PayPal or Credit Card
Advertisement