gimp: A heap-based buffer overflow vulnerability exists in the GIMP DDS (DirectDraw Surface) file parser
CVE-2026-42170 is fixed in gimp on 1 platform, first by DEBIAN-CVE-2026-42170, released August 5, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| gimp · Debian 13.5 (trixie) | 3.0.4-3+deb13u10 | DEBIAN-CVE-2026-42170 | Aug 5, 2026 |
| gimp · Debian 14 | 3.2.4-1 | DEBIAN-CVE-2026-42170 | Aug 5, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.