同じ製品で同じ時期に公表された 6 件の脆弱性の 1 つです。まとめた解説: PHPの脆弱性6件、CVSS v4は9.2で修正版あり
PHPに解放後メモリ使用の脆弱性、クラッシュやメモリ破壊のおそれ
概要
PHPのセッション終了処理で、エラー発生後に解放済みメモリを参照する脆弱性が見つかりました。攻撃者が処理を失敗させると、ワーカーがクラッシュしたりメモリが壊されたりするおそれがあります。影響するのは8.3.37より前の8.3系、8.4.28より前の8.4系、8.5.13より前の8.5系で、修正版の8.3.37、8.4.28、8.5.13への更新が必要です。コードの実行は確認されていないものの、早めの更新をおすすめします。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
PHPのセッション終了処理で、エラー発生後に解放済みメモリを参照する脆弱性が見つかりました。攻撃者が処理を失敗させると、ワーカーがクラッシュしたりメモリが壊されたりするおそれがあります。影響するのは8.3.37より前の8.3系、8.4.28より前の8.4系、8.5.13より前の8.5系で、修正版の8.3.37、8.4.28、8.5.13への更新が必要です。コードの実行は確認されていないものの、早めの更新をおすすめします。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| PHP GroupPHP |
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.3.37 8.4.28 8.5.13 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Debian DEBIAN-CVE-2026-129481 php8.4 修正版あり
- Ubuntu UBUNTU-CVE-2026-129481 php8.5, php8.3, php8.1 ほか 4 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Use-after-free after interrupted session shutdown.
The session extension records the filename of the executing script when a session starts. If a fatal error occurs in an application callback while the session variables are destroyed at shutdown, such as stream_close() of a user-defined stream wrapper, the pointer is retained after the request memory is freed, and a later request handled by the same worker can free the stale string. An attacker who can trigger such a failing cleanup may crash the worker or corrupt memory; code execution has not been demonstrated. This requires the filename to be allocated in request memory, for example when the script is not cached by OPcache.
This issue affects PHP versions 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