CVE-2026-126714 Partially overwritten session files can lead to remote code execution
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- PHPUbuntuDebianRed Hat
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.
Upgrade path
25 packages: 11 fixed, 14 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| PHP(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| redhat/php(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/php(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/php:7.4-8100020261119125714.f7998665(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/php:8.2-8100020261119180255.f7998665(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/php:8.2-9080020261120141350.9(Red Hat rhel_eus 9.8) | All versions | No fix listed | No fix yet |
| redhat/php:8.2/php(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/php:8.3-9080020261120133305.9(Red Hat rhel_eus 9.8) | All versions | No fix listed | No fix yet |
| redhat/php:8.3-9090020261119185155.9(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/php:8.4/php(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| ubuntu/php8.1(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/php8.3(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/php8.5(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/php8.5(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/php83(Alpine v3.24) | < 8.3.37-r0 | 8.3.37-r0 | Fixed |
| alpine/php84(Alpine v3.24) | < 8.4.28-r0 | 8.4.28-r0 | Fixed |
| alpine/php85(Alpine v3.24) | < 8.5.13-r0 | 8.5.13-r0 | Fixed |
| debian/php8.2(Debian 12) | < 8.2.36-1~deb12u1; = 8.2.5-2; = 8.2.7-1; = 8.2.7-1.1 +28 more | 8.2.36-1~deb12u1 | Fixed |
| debian/php8.4(Debian 13) | < 8.4.28-1~deb13u1; = 8.4.11-1; = 8.4.16-1; = 8.4.16-1~deb13u1 +12 more | 8.4.28-1~deb13u1 | Fixed |
| debian/php8.4(Debian 14) | < 8.4.28-2; = 8.4.11-1; = 8.4.16-1; = 8.4.16-1~deb13u1 +13 more | 8.4.28-2 | Fixed |
| PHP | < 8.2.36; >= 8.3.0, < 8.3.37; >= 8.4.0, < 8.4.28; >= 8.5.0, < 8.5.13 | 8.2.36, 8.3.37, 8.4.28, 8.5.13 | Fixed |
| redhat/php(Red Hat rhel_els 7) | < 5.4.16-48.el7_9.2 | 5.4.16-48.el7_9.2 | Fixed |
| redhat/php-main(Red Hat hummingbird 1) | < 8.5.13-0.1.hum1 | 8.5.13-0.1.hum1 | Fixed |
| redhat/php8.4(Red Hat enterprise_linux 10.3) | < 8.4.28-1.el10_3 | 8.4.28-1.el10_3 | Fixed |
| redhat/php8.4(Red Hat enterprise_linux_eus 10.2) | < 8.4.28-1.el10_2 | 8.4.28-1.el10_2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/php83(Alpine:v3.24) | < 8.3.37-r0 | 8.3.37-r0 |
| alpine/php84(Alpine:v3.24) | < 8.4.28-r0 | 8.4.28-r0 |
| alpine/php85(Alpine:v3.24) | < 8.5.13-r0 | 8.5.13-r0 |
| ubuntu/php8.1(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/php8.3(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/php8.5(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/php8.5(Ubuntu:26.10) | All versions | No fix listed |
| PHP(Azure Linux:3.0) | All versions | No fix listed |
| PHP | < 8.2.36 | 8.2.36 |
| PHP | >= 8.3.0, < 8.3.37 | 8.3.37 |
| PHP | >= 8.4.0, < 8.4.28 | 8.4.28 |
| PHP | >= 8.5.0, < 8.5.13 | 8.5.13 |
| debian/php8.2(Debian:12) | < 8.2.36-1~deb12u1 | 8.2.36-1~deb12u1 |
| debian/php8.2(Debian:12) | = 8.2.10-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.10-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.12-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.16-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.16-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.17-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.18-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.18-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.20-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.20-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.20-3 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.21-1 | No fix listed |
Show 66 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/php8.2(Debian:12) | = 8.2.23-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.24-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.24-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.26-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.26-4 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.27-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.28-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.29-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.30-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.31-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.32-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.33-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.34-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.35-1~deb12u1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.5-2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1.1 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1.2 | No fix listed |
| debian/php8.2(Debian:12) | = 8.2.7-1~deb12u1 | No fix listed |
| debian/php8.4(Debian:13) | < 8.4.28-1~deb13u1 | 8.4.28-1~deb13u1 |
| debian/php8.4(Debian:13) | = 8.4.11-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.16-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.16-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.20-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.21-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.21-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.22-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.23-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.23-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.24-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.24-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.26-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.26-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.27-1 | No fix listed |
| debian/php8.4(Debian:13) | = 8.4.27-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | < 8.4.28-2 | 8.4.28-2 |
| debian/php8.4(Debian:14) | = 8.4.11-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.16-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.16-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.20-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.21-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.21-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.22-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.23-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.23-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.24-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.24-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.26-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.26-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.27-1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.27-1~deb13u1 | No fix listed |
| debian/php8.4(Debian:14) | = 8.4.28-1~deb13u1 | No fix listed |
| redhat/php8.4(Red Hat:enterprise_linux:10.3) | < 8.4.28-1.el10_3 | 8.4.28-1.el10_3 |
| redhat/php8.4(Red Hat:enterprise_linux_eus:10.2) | < 8.4.28-1.el10_2 | 8.4.28-1.el10_2 |
| redhat/php(Red Hat:rhel_els:7) | < 5.4.16-48.el7_9.2 | 5.4.16-48.el7_9.2 |
| redhat/php:7.4-8100020261119125714.f7998665(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/php:8.2-8100020261119180255.f7998665(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/php:8.3-9090020261119185155.9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/php:8.3-9080020261120133305.9(Red Hat:rhel_eus:9.8) | All versions | No fix listed |
| redhat/php:8.2-9080020261120141350.9(Red Hat:rhel_eus:9.8) | All versions | No fix listed |
| redhat/php-main(Red Hat:hummingbird:1) | < 8.5.13-0.1.hum1 | 8.5.13-0.1.hum1 |
| redhat/php(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/php(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/php(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/php:8.2/php(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/php:8.4/php(Red Hat:enterprise_linux:9) | All versions | No fix listed |
References
- github.com vendor-advisory
- Debian Security Tracker CVE-2026-126714 vendor-advisory
- github.com
- depthfirst.com
- bugzilla.suse.com
- Ubuntu CVE tracker vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2576606 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-130158 third-party-advisory
- security.alpinelinux.org vendor-advisory
- RHSA-2026:100821 patch vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- depthfirst.com
- access.redhat.com
- RHSA-2026:101251 patch vendor-advisory
- RHSA-2026:100991 patch vendor-advisory
- RHSA-2026:101252 patch vendor-advisory
- RHSA-2026:101253 patch vendor-advisory
- RHSA-2026:101337 patch vendor-advisory
- RHSA-2026:101276 patch vendor-advisory
- RHSA-2026:101658 patch vendor-advisory
- RHSA-2026:102226 patch vendor-advisory