Description
A heap-based buffer overflow was found in GIMP’s GIF export plug-in. Exporting an image with very large width and height can cause 32-bit overflow when computing the pixel buffer size. The plug-in allocates a buffer based on the wrapped value while GEGL writes using the true image extent, rooted in integer overflow
Published: 2026-10-07
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Heap Buffer Overflow
Action: Mitigate
AI Analysis

Impact

The vulnerability is a heap-based buffer overflow in GIMP’s GIF export plug‑in. If an image with extremely large width and height is exported, GIMP calculates the pixel buffer size using a 32‑bit value that can wrap, allocating a smaller buffer than needed. Later, the GEGL engine writes data using the true image extent, causing more memory to be written than the buffer can hold. The overflow could corrupt heap memory and potentially allow an attacker to execute arbitrary code with the privileges of the running GIMP process. The weakness is CWE‑119, an Improper Handling of Buffer Size that often leads to memory corruption.

Affected Systems

The affected platform is Red Hat Enterprise Linux, versions 6 through 10. All standard GIMP installations on these operating systems that use the default GIF export plug‑in are vulnerable. No specific GIMP version is listed, but the issue resides in the export logic common to the installed package on the mentioned RH Enterprise Linux releases.

Risk and Exploitability

The CVSS score of 6.3 indicates a medium severity vulnerability. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no widely publicized exploitation. The likely attack vector is local: a user or malicious script that initiates a GIF export of an oversized image can trigger the overflow. Because the flaw is only triggered during export, an attacker would need access to run GIMP or alter export scripts to supply large dimensions. This limits the threat to environments where GIMP is used to process untrusted or high‑resolution images, but local execution could still lead to arbitrary code execution or a denial of service.

Generated by OpenCVE AI on October 7, 2026 at 15:23 UTC.

Remediation

Vendor Workaround

Do not export untrusted high-resolution images to GIF; enforce maximum width/height in batch or scripted export pipelines


OpenCVE Recommended Actions

  • Enforce maximum width and height limits in batch or scripted export pipelines to prevent oversized images from being processed by GIMP’s GIF export plug‑in
  • Apply any available GIMP updates or vendor patches that contain the fix for the overflow issue
  • Review and modify export workflows to reject or warn when image dimensions approach the system’s 32‑bit buffer size limits

Generated by OpenCVE AI on October 7, 2026 at 15:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 25 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Red Hat
Red Hat enterprise Linux
Vendors & Products Gimp
Gimp gimp
Red Hat
Red Hat enterprise Linux

Thu, 08 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 07 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 07 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
Description A heap-based buffer overflow was found in GIMP’s GIF export plug-in. Exporting an image with very large width and height can cause 32-bit overflow when computing the pixel buffer size. The plug-in allocates a buffer based on the wrapped value while GEGL writes using the true image extent, rooted in integer overflow
Title Gimp: gimp: heap buffer overflow in gif export on oversized image dimensions
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-119
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

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


Subscriptions

Gimp Gimp
Red Hat Enterprise Linux
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-07T19:25:37.549Z

Reserved: 2026-10-06T14:27:08.420Z

Link: CVE-2026-106064

cve-icon Vulnrichment

Updated: 2026-10-07T19:25:33.328Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-07T15:17:08.110

Modified: 2026-10-07T20:17:08.247

Link: CVE-2026-106064

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-07T00:00:00Z

Links: CVE-2026-106064 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-25T13:00:12Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer