CVE-2026-126714: PHP · Time-of-check Time-of-use (TOCTOU) Race Condition
Affects PHPSource CVE Database V5
Not known to be exploited · CVSS 9.2 Critical · fixed in 8.5.13 : patch PHP as a priority.
Data as of 19 Nov 2026, 15:03 UTC
Thin evidence
One scorer or none| CNA (php) | CVSS 4.0 | 9.2 |
|---|
- Patch
- Available – fixed in 8.5.13, 8.4.28, 8.3.37 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade PHP to 8.5.13, 8.4.28, 8.3.37 or 8.2.36.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PHP GroupPHP | Affected
| Fixed in
|
| PHP GroupPHP | Affected
| Fixed in
|
| PHP GroupPHP | Affected
| Fixed in
|
| PHP GroupPHP | Affected
| Fixed in
|
CPE configurations (1)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
AI-suggested
Apply the official patches by upgrading PHP to versions 8.2.36, 8.3.37, 8.4.28, or 8.5.13 or later. These versions contain fixes that prevent the session file corruption and associated remote code execution. No alternative mitigations are indicated; patching is required.
Description
A TOCTOU race condition in PHP's default session save handler can cause partially overwritten session files, leading to remote code execution. Interrupted writes may result in session files containing mixed old and new data, allowing attacker-controlled input to be unserialized as objects. This vulnerability affects PHP versions 8.2.0 up to but not including 8.2.36, 8.3.0 up to but not including 8.3.37, 8.4.0 up to but not including 8.4.28, and 8.5.0 up to but not including 8.5.13. Fixed versions are available.