Vulnerability in GIMP DDS (DirectDraw Surface) file parser
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
GIMPのDDS(DirectDraw Surface)ファイル読み込み処理に、ヒープバッファオーバーフローの脆弱性があります。細工されたDDSファイルを開くと、ヒープのメタデータが壊され、任意のコードを実行される恐れがあります。修正版の情報は確認できていないため、最新の情報を確認してください。
GIMPのDDSファイルパーサーでヒープベースのバッファオーバーフローが発生する。
GIMPのDDSファイルパーサー
ヒープメタデータの破損や潜在的なコード実行につながる。
GIMPのパッチが公開された際には、速やかにアップデートを適用する。
DDSファイルの取り扱いを制限し、信頼できるソースからのみファイルを取得する。
不正なピクセルフォーマットを持つDDSファイルの解析をモニターし、不正なファイルの取り扱いを防止する。
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-42170 gimp Fix available
- Ubuntu UBUNTU-CVE-2026-42170 gimp No fixed version in this record
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
References
- issue secalert@redhat.com
- patch secalert@redhat.com
- web nvd.nist.gov
- web github.com