Other
CVE-2026-42170 high CVSS 7.8

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ピクセルフォーマットを宣言しながら、ヘッダーに低いビット/ピクセル値を設定すると、ヒープバッファの境界を超えて書き込みが行われます。これにより、メタデータ破損やコード実行の可能性があります。

❓ What is the problem

GIMPのDDSファイルパーサーでヒープベースのバッファオーバーフローが発生する。

📍 Affected scope

GIMPのDDSファイルパーサー

🔥 Severity

ヒープメタデータの破損や潜在的なコード実行につながる。

🔧 How to fix

GIMPのパッチが公開された際には、速やかにアップデートを適用する。

🛡️ Workaround

DDSファイルの取り扱いを制限し、信頼できるソースからのみファイルを取得する。

🔍 Detection

不正なピクセルフォーマットを持つDDSファイルの解析をモニターし、不正なファイルの取り扱いを防止する。

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details