CVE-2026-66758CWE-190

CVE-2026-66758

High · published July 27, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
21.1
In the wild
Unconfirmed
What it is

A flaw was found in the file-fits plugin in GIMP. When processing a FITS image file, the plugin calculates memory allocation sizes using signed 32-bit integers for width and height. If a crafted file sets both values to large values, their product exceeds 2^31 and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when cfitsio subsequently writes a full row of pixels in the buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00296 · 21.1th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2026-07-27T23:17Z
Affected products (6)
ProductVersionsFixed in
gimp/gimpall versions—
gimp/gimpall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
References (7)
EPSS history
Timeline
  • 27 JUL 19:07Z
    Gimp: integer overflow in file-fits plugin causes a heap-based buffer overflow on crafted fits images
    cvelistv5