| Title | OpenEXRにおけるヒープベースのバッファオーバーフローの脆弱性 |
|---|---|
| Summary | 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で修正されました。 |
| Possible impacts | ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution | ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | June 18, 2026, midnight |
| Registration Date | June 29, 2026, 11:17 a.m. |
| Last Update | June 29, 2026, 11:17 a.m. |
| CVSS3.0 : 警告 | |
| Score | 6.5 |
|---|---|
| Vector | 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 | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年06月29日] 掲載 |
June 29, 2026, 11:17 a.m. |
| Summary | 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. |
|---|---|
| Publication Date | June 19, 2026, 6:16 a.m. |
| Registration Date | June 27, 2026, 4:03 a.m. |
| Last Update | June 26, 2026, 11:08 a.m. |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:openexr:openexr:*:*:*:*:*:*:*:* | 3.4.0 | 3.4.12 | |||