同じ製品で同じ時期に公表された 6 件の脆弱性の 1 つです。まとめた解説: PHPの脆弱性6件、CVSS v4は9.2で修正版あり
PHPのセッション保存処理に脆弱性、任意のコードを実行されるおそれ
概要
PHPのセッションファイルの書き込みが途中で中断されると、古いデータと新しいデータが混ざり、オブジェクトが注入されるおそれがあります。影響を受けるのは8.2.36より前の8.2系、8.3.37より前の8.3系、8.4.28より前の8.4系、8.5.13より前の8.5系で、修正版の8.2.36、8.3.37、8.4.28、8.5.13が公開されています。該当する版を使っている場合は、修正版への更新を急ぐ必要があります。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
PHPのセッションファイルの書き込みが途中で中断されると、古いデータと新しいデータが混ざり、オブジェクトが注入されるおそれがあります。影響を受けるのは8.2.36より前の8.2系、8.3.37より前の8.3系、8.4.28より前の8.4系、8.5.13より前の8.5系で、修正版の8.2.36、8.3.37、8.4.28、8.5.13が公開されています。該当する版を使っている場合は、修正版への更新を急ぐ必要があります。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| PHP GroupPHP |
8.2.36 未満→ 8.2.36 8.3.0 以上 8.3.37 未満→ 8.3.37 8.4.0 以上 8.4.28 未満→ 8.4.28 8.5.0 以上 8.5.13 未満→ 8.5.13 |
8.2.36 8.3.37 8.4.28 8.5.13 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2026-126714 php8.4, php8.2 修正版あり
- Ubuntu UBUNTU-CVE-2026-126714 php8.5, php8.3, php8.1 ほか 4 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
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 8.2.* before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
出典: CVE.org (CVE Program・cvelistV5) NVD
参照URL
- web security@php.net
- web github.com
- web depthfirst.com
- web bugzilla.suse.com
- web ubuntu.com