# CVE-2026-106066: GIMP heap buffer overflow in raw data export

Source: https://junglewise.ai/threats/cve-2026-106066-a-heap-based-buffer-overflow-was-found-in-gimp-s-raw-data-export  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-07. Updated: 2026-11-05  
License: CC BY 4.0 with a link back

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

GIMP is an image editing application used by designers and photographers to create and modify images. A flaw in GIMP's raw image export feature can cause a crash or memory corruption when exporting very large images, potentially leading to data loss or allowing an attacker to corrupt the application's memory. Users must manually export a specially crafted oversized image to trigger the vulnerability.

Technologies: [Gimp](https://junglewise.ai/threats/technologies/gimp). Vendors: [Gimp](https://junglewise.ai/threats/vendors/gimp).

## Quick answers

**Is CVE-2026-106066 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-106066 being exploited in the wild.

**How severe is CVE-2026-106066?** 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-106066?** No fixed version is recorded yet. Avoid raw export of untrusted or abnormally large images; validate image dimensions before automated export operations.</anigation>
<parameter name="timeline">[{"kind": "disclosed", "at": "2026-10-07"}] 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-106066 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-106066?** 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


Avoid raw export of untrusted or abnormally large images; validate image dimensions before automated export operations.</anigation>
<parameter name="timeline">[{"kind": "disclosed", "at": "2026-10-07"}]

## Technical details

A heap-based buffer overflow exists in GIMP's raw data export plug-in due to integer overflow in buffer size calculations (width * height * bytes-per-pixel). When g_malloc() allocates memory based on this overflowed value, it reserves far less memory than GEGL later reads or writes during export, causing out-of-bounds memory access. The attack requires local access and user interaction to export a malicious or abnormally large image; the resulting memory corruption can crash the application or potentially enable code execution.

## Affected products

- GIMP GIMP

## References

- [https://access.redhat.com/downloads/content/package-browser/](https://access.redhat.com/downloads/content/package-browser/)
- [https://access.redhat.com/security/cve/CVE-2026-106066](https://access.redhat.com/security/cve/CVE-2026-106066)

## Related threats

- [GIMP use-after-free in XCF path loader](https://junglewise.ai/threats/cve-2026-112261-a-flaw-was-found-in-gimp-opening-a-crafted-xcf-that-selects-a)
- [GIMP use-after-free in XCF loader](https://junglewise.ai/threats/cve-2026-112258-a-flaw-was-found-in-gimp-the-xcf-loader-can-leave-a-dangling)
- [GIMP integer overflow in file-pvr plug-in](https://junglewise.ai/threats/cve-2026-62439-a-flaw-was-found-in-gimp-an-integer-overflow-occurs-in-the-file)
- [GIMP heap buffer overflow in GIF export](https://junglewise.ai/threats/cve-2026-106064-a-heap-based-buffer-overflow-was-found-in-gimp-s-gif-export-plug)
- [GIMP heap buffer overflow in DDS loader](https://junglewise.ai/threats/cve-2026-106062-a-heap-based-buffer-overflow-was-found-in-gimp-s-directdraw)
