Improper synchronization in PHP - CVE-2026-126714
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to corrupt session state and potentially execute arbitrary code with the privileges of the PHP worker.
The vulnerability exists due to non-atomic session file replacement in the PHP files session save handler when an interrupted write leaves part of the previous session in the file. A remote attacker can influence stored session data through session upload progress or application features that store user-controlled data in sessions to cause PHP to deserialize attacker-controlled objects when it reads a partially overwritten session.
Code execution requires a suitable deserialization gadget chain in the application.
Affected software
Debian Linux
Fedora
php
php8.4 (Debian package)
How to mitigate CVE-2026-126714
php - addressed in versions 8.4.28-2.fc43, 8.5.13-1.fc44, 8.5.13-1.fc45
php8.4 (Debian package) - update to 8.4.28-1~deb13u1