CVE-2026-66758

HIGH CVSS 3.1: 7.8 EPSS 0.15%
Updated Jul 28, 2026
Red Hat
Parameter Value
CVSS 7.8 (HIGH)
Type CWE-190 (Integer Overflow)
Vendor Red Hat
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products

red hat:red hat enterprise linux 8 red hat:red hat enterprise linux 7 red hat:red hat enterprise linux 6 red hat:red hat enterprise linux 9