Vulnerability

CVE-2026-66758

highCVSS 3.1 7.8Published 27 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gimp gimp
  • Red Hat enterprise linux

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning