| タイトル | The PHP GroupのPHPにおける解放済みメモリの使用に関する脆弱性 |
|---|---|
| 概要 | PHPのバージョン8.2.*の8.2.31未満、8.3.*の8.3.31未満、8.4.*の8.4.21未満、および8.5.*の8.5.6未満において、SOAP拡張のオブジェクト重複排除機構はPHPオブジェクトへのポインタの参照カウントを増やさずにグローバルマップに保存します。apache:Mapノードに重複したキーがある場合、2つ目のエントリの処理が一時結果マップの最初のエントリを上書きし、元のPHPオブジェクトを解放しますが、古いポインタはマップに残ります。その後のhref参照により、解放されたノードのダングリングポインタが結果にコピーされる可能性があります。PHPの文字列割り当ては解放されたメモリ領域を再利用するため、SOAPリクエストボディを制御できる攻撃者はこのUse-After-Free脆弱性を悪用してリモートコードを実行する可能性があります。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月10日0:00 |
| 登録日 | 2026年5月14日10:15 |
| 最終更新日 | 2026年5月14日10:15 |
| CVSS3.0 : 緊急 | |
| スコア | 9.8 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| The PHP Group |
| PHP 8.2.0 以上 8.2.31 未満 |
| PHP 8.3.0 以上 8.3.31 未満 |
| PHP 8.4.0 以上 8.4.21 未満 |
| PHP 8.5.0 以上 8.5.6 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年05月14日] 掲載 |
2026年5月14日10:15 |
| 概要 | In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the SOAP extension's object deduplication mechanism stores pointers to PHP objects in a global map without incrementing their reference counts. When an apache:Map node contains duplicate keys, processing the second entry overwrites the first in the temporary result map, freeing the original PHP object while its stale pointer remains in the map. A subsequent href reference to the freed node can copy the dangling pointer into the result. As PHP string allocations can reclaim the freed memory region, an attacker with control over the SOAP request body can exploit this use-after-free to achieve remote code execution. |
|---|---|
| 公表日 | 2026年5月10日14:16 |
| 登録日 | 2026年5月11日4:08 |
| 最終更新日 | 2026年5月13日2:48 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 8.2.0 | 8.2.31 | |||
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 8.3.0 | 8.3.31 | |||
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 8.4.0 | 8.4.21 | |||
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 8.5.0 | 8.5.6 | |||