CVE-2026-106064: GIMP heap buffer overflow in GIF export

CVE-2026-106064 · Severity: medium · CVSS 6.3 · Published 2026-10-07

GIMP, a widely-used image editing application, contains a flaw in its GIF export function that can cause a crash or memory corruption when exporting images with extremely large dimensions. An attacker or user exporting a maliciously-crafted high-resolution image could trigger the overflow, leading to application failure or potential data corruption.

Technologies: Gimp. Vendors: Gimp.

Quick answers

Is CVE-2026-106064 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-106064 being exploited in the wild.
How severe is CVE-2026-106064?
Medium severity, with a CVSS score of 6.3, published 7 October 2026.
Which products and versions are affected?
GIMP GIMP.
Is there a fix for CVE-2026-106064?
No fixed version is recorded yet. Do not export untrusted high-resolution images to GIF; enforce maximum width and height limits in batch or scripted export pipelines. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-106064 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-106064?
Check whether you run Gimp. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

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

Technical details

A heap-based buffer overflow exists in GIMP's GIF export plug-in due to 32-bit integer overflow when computing pixel buffer size. The plug-in allocates a buffer based on the wrapped overflow value while GEGL writes using the true image extent, causing out-of-bounds writes. Exploitation requires user interaction (performing a GIF export on an oversized image), and yields memory corruption, denial of service, or potential code execution.

Affected products

  • GIMP GIMP

Timeline

  • 2026-10-07: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.