CVE-2026-66757: Gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on rle sgi images

Published Jul 27, 2026
·
Updated

A flaw was found in the file-sgi plugin in GIMP, affecting all versions. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.

Other sources

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.

MITRE

Affected Software

5 affected components
GIMP file-sgi plugin (sgi-lib)=
GIMP GIMP=3.2.6
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0

Event History

Jul 27, 2026
Data Sourced
via Red Hat·01:34 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·07:07 PM
Data Sourced
via MITRE·07:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-66757?

CVE-2026-66757 has a medium severity rating of 5.5.

2

How does CVE-2026-66757 affect GIMP?

CVE-2026-66757 affects GIMP by causing a crash in the file-sgi plugin when processing specially crafted RLE SGI images.

3

How can I fix CVE-2026-66757?

To fix CVE-2026-66757, update the GIMP file-sgi plugin to the latest patched version.

4

What type of vulnerability is CVE-2026-66757?

CVE-2026-66757 is classified as an integer overflow vulnerability.

5

What impact does CVE-2026-66757 have on system security?

The impact of CVE-2026-66757 could lead to denial of service due to the crashing of the GIMP application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203