Improper synchronization in PHP - CVE-2026-126714

 

Improper synchronization in PHP - CVE-2026-126714

Published: November 19, 2026


Vulnerability identifier: #VU167932
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-126714
CWE-ID: CWE-662
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

PHP
Debian Linux
Fedora
php
php8.4 (Debian package)

How to mitigate CVE-2026-126714

Install security update from vendor's website.

PHP - addressed in versions 8.2.36, 8.3.37, 8.4.28, 8.5.13
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

External References

Related Security Bulletins