Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.8CVE-2026-136329

GIMP: heap-based buffer overflow in the JIF image loader

Published 25/11/2026 · Updated 25/11/2026 · GNOME GIMP

Summary

A flaw was found in GIMP's file-gif-load plugin when processing specially crafted JIF image files. A 32-bit integer overflow occurs during the pixel buffer size calculation, while the zlib output limit is computed separately without wrapping. This results in an undersized heap allocation and a heap-based buffer overflow (CWE-122) when the compressed image data is decompressed.

Per the CVSS vector (7.8, high), the attack is local: the attacker must deliver a malicious file that the user opens or browses in GIMP. No privileges are required and complexity is low, but user interaction is needed. According to the description, this can crash the application (denial of service) or potentially allow arbitrary code execution in the user's context, with full impact on confidentiality, integrity and availability.

The vulnerability is not listed in the CISA KEV catalog and no EPSS data is available.

Who is affected

Users and organizations running GIMP 3.1.2 or later, including Red Hat Enterprise Linux 6, 7, 8, 9 and 10 systems with GIMP installed.

What to do

  1. No fixed version is listed in the record; monitor the official GNOME/GIMP advisory (gitlab.gnome.org/GNOME/gimp/-/work_items/17001) and Red Hat (access.redhat.com/security/cve/CVE-2026-136329) and apply the patch as soon as it is available.
  2. Do not open JIF files from untrusted sources in GIMP or navigate to directories containing such files.
  3. Disable thumbnail generation in GIMP preferences to prevent the vulnerable code path from being reached via the GIMP file chooser.
  4. Inventory systems with GIMP 3.1.2 or later installed and consider removing it from servers where it is not needed.

Vendor workaround

To mitigate this vulnerability, do not open JIF files or navigate to directories containing JIF files from untrusted sources using GIMP. Additionally, users can disable thumbnail generation in the preferences to prevent the vulnerable code path from being reached when using the GIMP file chooser.

Original text from the vendor's CVE record.

Affected products and versions

GNOME GIMP3.1.2 – < *
Red Hat Red Hat Enterprise Linux 10
Red Hat Red Hat Enterprise Linux 6
Red Hat Red Hat Enterprise Linux 7
Red Hat Red Hat Enterprise Linux 8
Red Hat Red Hat Enterprise Linux 9

CVSS vector, explained

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
Low
Privileges required
None (no login)
User interaction
Required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.