Vulnerability in GIMP DDS (DirectDraw Surface) file parser (CVE-2026-42170)
Summary
Vulnerability in GIMP DDS (DirectDraw Surface) file parser (CVE-2026-42170). Successful exploitation can lead to full system takeover.
Original description
The description as published by the source.
A heap-based buffer overflow vulnerability exists in the GIMP DDS (DirectDraw Surface) file parser. When a crafted DDS file declares a D3D9 pixel format but sets a lower bits-per-pixel (bpp) value in the header, the loader allocates an undersized heap buffer. Subsequent pixel data consumption at the real format's stride causes a write past the heap buffer boundary, leading to heap metadata corruption and potential code execution.
Source: NIST National Vulnerability Database NVD GitHub Advisory
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
GIMPのDDSファイルパーサーにヒープベースのバッファオーバーフローの脆弱性があります。不正なDDSファイルがD3D9ピクセルフォーマットを宣言しながら、ヘッダーに低いビット/ピクセル値を設定すると、ヒープバッファの境界を超えて書き込みが行われます。これにより、メタデータ破損やコード実行の可能性があります。
GIMPのDDSファイルパーサーでヒープベースのバッファオーバーフローが発生する。
GIMPのDDSファイルパーサー
ヒープメタデータの破損や潜在的なコード実行につながる。
GIMPのパッチが公開された際には、速やかにアップデートを適用する。
DDSファイルの取り扱いを制限し、信頼できるソースからのみファイルを取得する。
不正なピクセルフォーマットを持つDDSファイルの解析をモニターし、不正なファイルの取り扱いを防止する。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-42170 gimp
- Ubuntu UBUNTU-CVE-2026-42170 gimp
References
- issue secalert@redhat.com
- patch secalert@redhat.com
- web nvd.nist.gov
- web github.com