CVEs / CVE-2026-126714
CVE-2026-126714: PHP Group PHP vulnerability
- critical 9.2 CVSS 4.0 (from the CNA)
- EPSS 17.5% chance of exploitation in the next 30 days, higher than 97% of CVEs (20 Nov 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2026-126714
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 and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| PHP Group PHP | before 8.2.36 | 8.2.36 |
| PHP Group PHP | from 8.3.0, before 8.3.37 | 8.3.37 |
| PHP Group PHP | from 8.4.0, before 8.4.28 | 8.4.28 |
| PHP Group PHP | from 8.5.0, before 8.5.13 | 8.5.13 |
Exploitation
Not in the CISA Known Exploited Vulnerabilities catalog as of 20 Nov 2026.
Severity
| CVSS 4.0 | 9.2 criticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XScored by the CNA ([email protected]) |
|---|---|
| Weakness | CWE-367, CWE-662 |
References
- CVE-2026-126714 on NVD
- https://github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp
- https://bugzilla.suse.com/show_bug.cgi?id=1290690
- https://depthfirst.com/phpAfterShell
- https://github.com/semgrep/detection-scripts/pull/14
- https://ubuntu.com/security/CVE-2026-126714
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.