GNOME GIMP - PSD Thumbnail JPEG Integer Overflow that lead to Heap-Based Buffer Overflow and Potentially Code Execution

CVE ID

CVE-2026-92248

Description

A flaw was found in the file-psd plugin in GIMP. When generating a thumbnail preview for a specially crafted PSD (Photoshop Document) image file, an integer overflow occurs during the multiplication of values from an embedded JPEG header. This leads to an undersized heap allocation, resulting in a heap-based buffer overflow when the image data is decoded. This buffer overflow corrupts adjacent heap objects, allowing for a controlled memory write that can result in an application crash or arbitrary code execution.

Tested Versions

3.2.6

Details

GIMP (GNU Image Manipulation Program) is a free and open-source image editing application developed for creating, editing, and manipulating digital images. It is available for major operating systems including Windows, macOS, and Linux.

Timeline

  • 2026-09-15 - Vendor Disclosure
  • 2026-09-15 - Vendor Patched
  • 2026-09-15 - Public Release

Credit

Discovered by Tan Inn Fung from GovTech Cybersecurity Group