Skip to main content
VulnerabilityPublished

CVE-2026-126714: PHP · Time-of-check Time-of-use (TOCTOU) Race Condition

Affects PHPSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
9.2Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (php)CVSS 4.09.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PHP GroupPHPAffected
  • >=8.5.0 <8.5.13
Fixed in
  • 8.5.13
PHP GroupPHPAffected
  • >=8.4.0 <8.4.28
Fixed in
  • 8.4.28
PHP GroupPHPAffected
  • >=8.3.0 <8.3.37
Fixed in
  • 8.3.37
PHP GroupPHPAffected
  • >=8.2.0 <8.2.36
Fixed in
  • 8.2.36

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.

References

Community reviews

Loading reviews…