| Title | PHPOfficeのPhpSpreadsheetにおける制限またはスロットリング無しのリソースの割り当てに関する脆弱性 |
|---|---|
| Summary | PhpSpreadsheetはスプレッドシートファイルの読み書きを行う純粋なPHPライブラリです。バージョン1.30.4、2.1.16、2.4.5、3.10.5、および5.7.0より前のSpreadsheetML XMLリーダー(Reader\Xml)は、ss:Indexの行属性を最大許容行数(AddressRange::MAX_ROW = 1,048,576)に対して検証しません。攻撃者はRow要素にss:Index="999999999"を設定したSpreadsheetML XMLファイルを作成できます。これにより、内部のcachedHighestRowが約10億に膨れ上がります。以降、明示的な終了行が設定されていない場合にgetRowIterator()を呼び出すと、約10億行を反復処理しようとし、CPU資源の枯渇およびサービス拒否を引き起こします。この脆弱性はバージョン1.30.4、2.1.16、2.4.5、3.10.5、および5.7.0で修正されています。 |
| Possible impacts | 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | May 12, 2026, midnight |
| Registration Date | May 15, 2026, 11:01 a.m. |
| Last Update | May 15, 2026, 11:01 a.m. |
| CVSS3.0 : 重要 | |
| Score | 7.5 |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PHPOffice |
| PhpSpreadsheet 1.30.4 未満 |
| PhpSpreadsheet 2.0.0 以上 2.1.16 未満 |
| PhpSpreadsheet 2.2.0 以上 2.4.5 未満 |
| PhpSpreadsheet 3.3.0 以上 3.10.5 未満 |
| PhpSpreadsheet 4.0.0 以上 5.7.0 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年05月15日] 掲載 |
May 15, 2026, 11:01 a.m. |
| Summary | PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to 1.30.4, 2.1.16, 2.4.5, 3.10.5, and 5.7.0, the SpreadsheetML XML reader (Reader\Xml) does not validate the ss:Index row attribute against the maximum allowed row count (AddressRange::MAX_ROW = 1,048,576). An attacker can craft a SpreadsheetML XML file with ss:Index="999999999" on a <Row> element, which inflates the internal cachedHighestRow to ~1 billion. Any subsequent call to getRowIterator() without an explicit end row will attempt to iterate ~1 billion rows, causing CPU exhaustion and denial of service. This vulnerability is fixed in 1.30.4, 2.1.16, 2.4.5, 3.10.5, and 5.7.0. |
|---|---|
| Publication Date | May 13, 2026, 7:16 a.m. |
| Registration Date | May 15, 2026, 4:18 a.m. |
| Last Update | May 14, 2026, 3:01 a.m. |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | 1.30.4 | ||||
| cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | 2.0.0 | 2.1.16 | |||
| cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | 2.2.0 | 2.4.5 | |||
| cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | 3.3.0 | 3.10.5 | |||
| cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | 4.0.0 | 5.7.0 | |||