GIMP FITS Plugin Uses Signed Integer Arithmetic for Memory Allocation Sizes, Allowing Overflow When Processing Large FITS Images
Last refreshed2026-11-17
Status: UPDATED
| Advisory ID: CVE-2026-66758
Key Details
CVE
CVE-2026-66758
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated
2026-11-02
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is none; user interaction is required; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
see table below
Classified as
CWE-190 (Integer Overflow or Wraparound)
Exploitation prediction (EPSS)
0.30% probability of exploitation in the next 30 days (23% percentile) -- FIRST.org's EPSS model.
Affected Products, Subsystems & Sectors
Vendor
Product
Affected Versions
Patch Status
Red Hat
Enterprise Linux
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 9
Red Hat
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.6 Extended Update Support
Red Hat
Red Hat Enterprise Linux 7
Red Hat
Red Hat Enterprise Linux 6
gimp
gimp
Subsystems
OT Supporting Infrastructure
Sectors
All Sectors
What to Know
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. (NVD)
What to Do
To mitigate this vulnerability, do not open FITS files from untrusted sources with GIMP. Source: Red Hat CVE-2026-66758