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...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSphp5 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSphp7.0 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSphp7.2 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSphp7.4 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSphp8.1 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSphp8.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10php8.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSphp8.5 |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com