Bug 2507465 (CVE-2026-66757) - CVE-2026-66757 gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on RLE SGI images
Summary: CVE-2026-66757 gimp: signed integer overflow in file-sgi (sgi-lib) causes the...
Keywords:
Status: NEW
Alias: CVE-2026-66757
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2507628
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-27 13:34 UTC by OSIDB Bzimport
Modified: 2026-07-27 19:06 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-27 13:34:39 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.