CVE-2026-126714
Partially overwritten session files can lead to remote code execution
Reported by php · Published November 19, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php8.2-devel | Amazon Linux | 8.2.36-1.amzn2023.0.1 |
| php-pecl-zip-debuginfo | errata.rockylinux.org | 0:1.22.3-1.module+el8.10.0+1911+f499711e.x86_64, 0:1.22.3-1.module+el8.10.0+1911+f499711e.aarch64, 0:1.22.3-1.module+el8.10.0+1596+477f03f8.x86_64, 0:1.22.3-1.module+el8.10.0+1596+477f03f8.aarch64, 0:1.18.2-1.module+el8.10.0+1912+72767185.x86_64, 0:1.18.2-1.module+el8.10.0+1912+72767185.aarch64, 0:1.18.2-1.module+el8.10.0+1604+6558efc7.x86_64, 0:1.18.2-1.module+el8.10.0+1604+6558efc7.aarch64 |
| php-pecl-xdebug-debugsource | errata.rockylinux.org | 0:2.9.5-1.module+el8.10.0+1912+72767185.x86_64, 0:2.9.5-1.module+el8.10.0+1912+72767185.aarch64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.x86_64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.aarch64 |
| php8.3-sodium | Amazon Linux | 8.3.37-1.amzn2023.0.1 |
| php8.4-xml | Amazon Linux | 8.4.28-1.amzn2023.0.1 |
| php-pecl-xdebug | errata.rockylinux.org | 0:2.9.5-1.module+el8.10.0+1912+72767185.x86_64, 0:2.9.5-1.module+el8.10.0+1912+72767185.src, 0:2.9.5-1.module+el8.10.0+1912+72767185.aarch64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.x86_64, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.src, 0:2.9.5-1.module+el8.10.0+1604+6558efc7.aarch64 |
| php-8.5 | Wolfi | 8.5.13-r0 |
| php8.3-mbstring | Amazon Linux | 8.3.37-1.amzn2023.0.1 |
| php8.3-odbc | Amazon Linux | 8.3.37-1.amzn2023.0.1 |
| php-pecl-rrd | errata.rockylinux.org | 0:2.0.3-1.module+el8.10.0+1911+f499711e.x86_64, 0:2.0.3-1.module+el8.10.0+1911+f499711e.src, 0:2.0.3-1.module+el8.10.0+1605+02e07af7.x86_64, 0:2.0.3-1.module+el8.10.0+1605+02e07af7.src, 0:2.0.3-1.module+el8.10.0+1596+477f03f8.x86_64, 0:2.0.3-1.module+el8.10.0+1596+477f03f8.src, 0:2.0.1-1.module+el8.10.0+1912+72767185.x86_64, 0:2.0.1-1.module+el8.10.0+1912+72767185.src, 0:2.0.1-1.module+el8.10.0+1604+6558efc7.x86_64, 0:2.0.1-1.module+el8.10.0+1604+6558efc7.src, 0:2.0.1-1.module+el8.4.0+414+2e7afcdd.x86_64, 0:2.0.1-1.module+el8.4.0+414+2e7afcdd.src |
| php8.3-pgsql | Amazon Linux | 8.3.37-1.amzn2023.0.1 |
| php8.3-ldap | Amazon Linux | 8.3.37-1.amzn2023.0.1 |
77 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 0, 8.3.0, 8.4.0 |
| PHP Group | PHP | 0, 8.3.0, 8.4.0 |
Timeline
- Nov 19, 2026 CVE Published
- Nov 19, 2026 Coalition ESS Score
- Nov 19, 2026 PoC Published (46 in total, the first dated here)
- Nov 19, 2026 CVE Updated
- Nov 20, 2026 EPSS Score (2 in total, the first dated here)
- Nov 21, 2026 Distribution Patch (9 in total, the first dated here)
- Nov 21, 2026 Security Advisory (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-126714
vulnetix vdb fixes CVE-2026-126714
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-126714/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart