CVE-2026-126714PHP Insecure Deserialization
Partially overwritten session files can lead to remote code execution
Published Nov 19, 2026 · Updated Nov 19, 2026 · Also known as EUVD-2026-130158, GHSA-fm2m-fjf5-v3cp
Key Facts
Patch in the next maintenance window- CVE-2026-126714 is a critical-severity vulnerability (CVSS 9.2 v4) affecting PHP, php8.2 (debian), php8.4 (debian) and 2 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- Fixed versions are available, including ext-session 8.2.36, ext-session 8.3.37, ext-session 8.4.28.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Scores
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
EPSS (30-day exploit likelihood)
n/a
Exploit maturity
Proof of concept
ATLAS score
52/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
3
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
Partially overwritten session files can lead to remote code execution.
The files session save handler, which is the default, writes updated session data into the existing session file without first clearing it. If a write is interrupted, the file can contain the beginning of the new session followed by the end of the old one, and bytes of an ordinary string can later be unserialized as objects.
An attacker who can influence the session data, for example through session upload progress, and interrupt a write at a suitable point may inject objects, which can lead to code execution when the application contains a suitable gadget chain. Session data can also be corrupted.
This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
Affected Products
9 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PHPPHP | >= 8.5.0 | 8.2.36 |
| php8.2debian | See advisory | 8.2.36-1~deb12u1 |
| php8.4debian | See advisory | 8.4.28-1~deb13u1 |
| php/php-src | See advisory | n/a |
| ext-sessionphp | >= 8.2.0 | 8.2.36 |
Patched Releases
ext-session
8.2.36, 8.3.37, 8.4.28, 8.5.13
PHP
8.2.36, 8.3.37, 8.4.28, 8.5.13
php/php-src
8.2.36, 8.3.37, 8.4.28, 8.5.13
php8.2
8.2.36-1~deb12u1
php8.4
8.4.28-1~deb13u1
pkg:software-id/php.net/php
8.2.36, 8.3.37, 8.4.28, 8.5.13
Timeline
Publicly disclosed
Nov 19, 2026
Weakness Type
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
- CWE-502 Deserialization of Untrusted Data
- CWE-662 Improper Synchronization
References
FAQ
Common Questions.
Partially overwritten session files can lead to remote code execution.
Affected: PHP versions >= 8.5.0; php8.2 (debian); php8.4 (debian), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including ext-session 8.2.36, ext-session 8.3.37, ext-session 8.4.28.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2026-126714 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo