CVE-2026-106066
GIMP: GIMP: heap buffer overflow in raw data export on oversized image dimensions
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 7, 2026
Updated · October 8, 2026
Description
A heap-based buffer overflow was found in GIMP’s raw data export plug-in. When exporting very large images, g_malloc() sizing based on overflowing width * height * bytes-per-pixel can allocate far less memory than GEGL reads or writes during export, following integer overflow
Statement
A heap-based buffer overflow was found in GIMP when exporting raw image data. Exporting an image whose dimensions cause integer wrap in buffer size calculations can lead to a heap-based out-of-bounds write and application crash or memory corruption. The user must export an oversized image to reach the vulnerable path.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Avoid raw export of untrusted or abnormally large images; validate dimensions before automated export.
CVSS / CWE
CVSS 3.1 · 6.3CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer