Ubuntu CVE Tracker
UBUNTU-CVE-2026-126714
Details
PHP's file-based session handler can leave a session file containing parts of two different serialized sessions if a write is interrupted. An attacker who can influence the session contents and interrupt a replacement write may be able to make PHP deserialize attacker-controlled objects when the session is next opened. A suitable object gadget chain in the application can turn this into remote code execution. This affects the files session save handler, which is PHP's default. The issue is not limited to session upload progress or PHP 8.6.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | php5 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | php7.0 | All versions before 7.0.33-0ubuntu0.16.04.16+esm23 (fixed in 7.0.33-0ubuntu0.16.04.16+esm23) |
| Ubuntu:Pro:18.04:LTS | php7.2 | All versions before 7.2.24-0ubuntu0.18.04.17+esm15 (fixed in 7.2.24-0ubuntu0.18.04.17+esm15) |
| Ubuntu:Pro:20.04:LTS | php7.4 | All versions, no fix listed |
| Ubuntu:22.04:LTS | php8.1 | All versions, no fix listed |
| Ubuntu:24.04:LTS | php8.3 | All versions, no fix listed |
| Ubuntu:26.10 | php8.5 | All versions, no fix listed |
| Ubuntu:26.04:LTS | php8.5 | All versions, no fix listed |