๐Ÿ” CVE Alert

CVE-2026-66758

HIGH 7.8

Gimp: integer overflow in file-fits plugin causes a heap-based buffer overflow on crafted fits images

CVSS Score
7.8
EPSS Score
0.1%
EPSS Percentile
4th

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.

CWE CWE-190
Vendor gnome
Product gimp
Published Jul 27, 2026
Last Updated Aug 5, 2026
Stay Ahead of the Next One

Get instant alerts for gnome gimp

Be the first to know when new high vulnerabilities affecting gnome gimp are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

GNOME / GIMP
All versions affected
Red Hat / Red Hat Enterprise Linux 9
All versions affected
Red Hat / Red Hat Enterprise Linux 6
All versions affected
Red Hat / Red Hat Enterprise Linux 7
All versions affected
Red Hat / Red Hat Enterprise Linux 8
All versions affected

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
access.redhat.com: https://access.redhat.com/errata/RHSA-2026:50817 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-66758 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2507475 gitlab.gnome.org: https://gitlab.gnome.org/GNOME/gimp/-/issues/16528

Credits

Red Hat would like to thank Tristan Madani for reporting this issue.