CVE-2026-136329

gimp: heap-based buffer overflow in the JIF loader

Published n/a CVSS 3.1 · 7.8 High EPSS n/a KEV · Not listed
Description
A flaw was found in the file-gif-load plugin in GIMP. When processing a specially crafted JIF image file, a 32-bit integer overflow occurs during the pixel buffer size calculation, while the zlib output limit is computed separately without wrapping. This leads to an undersized heap allocation, resulting in a heap-based buffer overflow when the compressed image data is decompressed. This issue can result in an application crash, leading to a denial of service, or potentially allow for arbitrary code execution.

Analysis

AI-generated

Technical impact

A 32‑bit integer overflow in GIMP’s file‑gif‑load plugin causes an undersized heap allocation when decompressing specially crafted JIF image files, which leads to a heap‑based buffer overflow. The resulting buffer corruption can crash the application or, in the worst case, allow an attacker to execute arbitrary code within the context of the GIMP process.

Affected Systems

All installations of the GIMP image editor that include the file‑gif‑load plugin contain the flaw; vendor version information is not disclosed in the advisory, so any release with this plugin remains susceptible until a fix is applied.

Risk and Exploitability

The CVSS score of 7.8 indicates a high likelihood of substantial security impact. EPSS data is currently unavailable, and the vulnerability has not been listed in the CISA KEV catalog. Exploitation appears to require access to a crafted JIF image processed by GIMP, which suggests a local or remote attacker can trigger the overflow by providing a malicious file for opening. Given the potential for code execution, the risk remains significant while the vulnerability persists.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest available GIMP update that incorporates the integer‑overflow fix for the JIF loader.
  • If the file‑gif‑load plugin is not needed for legitimate workflow, disable or uninstall it in GIMP’s plugin manager.
  • Avoid opening untrusted JIF files until the patch is applied, and consider restricting file‑type privileges in shared work environments.

Generated by OpenCVE AI on November 25, 2026 at 01:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gnome
Gnome gimp
Vendors & Products Gnome
Gnome gimp
Type Values Removed Values Added
Description A flaw was found in the file-gif-load plugin in GIMP. When processing a specially crafted JIF image file, a 32-bit integer overflow occurs during the pixel buffer size calculation, while the zlib output limit is computed separately without wrapping. This leads to an undersized heap allocation, resulting in a heap-based buffer overflow when the compressed image data is decompressed. This issue can result in an application crash, leading to a denial of service, or potentially allow for arbitrary code execution.
Title gimp: heap-based buffer overflow in the JIF loader
Weaknesses CWE-122
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources