| タイトル | OpenEXRにおけるヒープベースのバッファオーバーフローの脆弱性 |
|---|---|
| 概要 | OpenEXRは、映画産業で広く使用されているEXR画像フォーマットのリファレンス実装および仕様です。バージョン3.4.0から3.4.11において、OpenEXRCoreのHTJ2K(High-Throughput JPEG 2000)デコーダのht_undo_impl()関数にヒープバッファオーバーフローの読み取り脆弱性が存在します。ht_undo_impl関数は、EXRチャンネルで宣言された幅を反復回数として使用し、1行ごとのOpenJPHバッファからデコード済みピクセルをコピーします。EXRチャンクに埋め込まれたコードストリームは、EXRヘッダーが示すよりも異なる(小さい)タイルまたはラインの寸法を宣言できますが、ht_undo_impl()はこれを検証せず、OpenJPHのラインバッファの実際の長さを確認しないままcur_line-i32[]から幅の32ビットサンプルを読み出します。細工されたEXRファイルは、ojph::local::codestream::finalize_alloc()によって割り当てられたバッファの直後に4バイト分のヒープバッファオーバーフロー読み取りを引き起こします。このバグは、exr_decoding_run/Imf::checkOpenEXRFileを使用するすべての消費者が使用する標準的なスキャンラインデコードのエントリーポイントから到達可能であり、サムネイラー、アセットパイプライン、exrcheckユーティリティなど、信頼されていないEXRファイルを開くあらゆるアプリケーションに影響を与えます。結果として、決定論的なクラッシュ(DoS)や隣接ヒープの情報漏洩が発生する可能性があります。この問題はバージョン3.4.12で修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年6月18日0:00 |
| 登録日 | 2026年6月29日11:17 |
| 最終更新日 | 2026年6月29日11:17 |
| CVSS3.0 : 警告 | |
| スコア | 6.5 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OpenEXR |
| OpenEXR 3.4.0 以上 3.4.12 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月29日] 掲載 |
2026年6月29日11:17 |
| 概要 | OpenEXR is the reference implementation and specification for the EXR image format, widely used in the motion picture industry. In versions 3.4.0 through 3.4.11, the HTJ2K (High-Throughput JPEG 2000) decoder, ht_undo_impl() in OpenEXRCore is vulnerable to a heap-buffer-overflow READ. The ht_undo_imp function copies decoded pixels out of a per-line OpenJPH buffer using the EXR channel's declared width as the iteration count. The codestream embedded in the EXR chunk can declare different (smaller) tile/line dimensions than the EXR header advertises, but ht_undo_impl() does not validate this — it pulls width 32-bit samples from cur_line->i32[] without checking the OpenJPH line buffer's actual length. A crafted EXR file produces a 4-byte heap-buffer-overflow READ immediately after a buffer allocated by ojph::local::codestream::finalize_alloc(). The bug is reachable through the standard scanline-decode entry point used by every consumer of exr_decoding_run/Imf::checkOpenEXRFile, including thumbnailers, asset pipelines, and the exrcheck utility — i.e. any application that opens untrusted EXR files. The result is a deterministic crash (DoS) and potential adjacent-heap leak. This issue has been fixed in version 3.4.12. |
|---|---|
| 公表日 | 2026年6月19日6:16 |
| 登録日 | 2026年6月27日4:03 |
| 最終更新日 | 2026年6月26日11:08 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* | 3.4.0 | 3.4.12 | |||