← All Advisories
Reported from OT-Advisories.com as of

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

CVECVE-2026-66758
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-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

VendorProductAffected VersionsPatch Status
Red HatEnterprise Linux
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red HatRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 6
gimpgimp
SubsystemsOT Supporting Infrastructure
SectorsAll 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

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-66758
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-66758
Vendor advisoryhttps://access.redhat.com/security/cve/CVE-2026-66758
Vendor advisoryhttps://access.redhat.com/errata/RHSA-2026:50817
Vendor advisoryhttps://access.redhat.com/errata/RHSA-2026:62507
Vendor advisoryhttps://access.redhat.com/errata/RHSA-2026:73768
Vendor advisoryhttps://access.redhat.com/errata/RHSA-2026:80509
Vendor advisoryhttps://access.redhat.com/errata/RHSA-2026:93589
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.