CVE-2026-66758

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability22. percentile0.3%
ProductGimp
PublishedJul 27, 2026
First seenJul 27, 2026

How to fix

Affected products

ProductAffected versionsFixed in
gimp gimp3.0.8, 3.2.4—
redhat enterprise_linux6.0, 7.0, 8.0, 9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.