Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gimp | Gimp | 3.0.8 |
| Redhat | Enterprise Linux | 6.0 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2026:50817Issue Tracking
- https://access.redhat.com/security/cve/CVE-2026-66758Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2507475Issue TrackingVendor Advisory
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16528ExploitIssue TrackingVendor Advisory
FAQ
What is CVE-2026-66758?
CVE-2026-66758 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 ...
How severe is CVE-2026-66758?
CVE-2026-66758 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-66758?
Check the references section above for vendor advisories and patch information. Affected products include: Gimp Gimp, Redhat Enterprise Linux.