{"id":"CVE-2026-66757","summary":"Gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on rle sgi images","details":"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.","modified":"2026-09-11T03:48:32.640777728Z","published":"2026-07-27T19:07:13.384Z","related":["openSUSE-SU-2026:11449-1","openSUSE-SU-2026:21521-1","openSUSE-SU-2026:21733-1"],"database_specific":{"cwe_ids":["CWE-190"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66757.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://gitlab.gnome.org/GNOME/gimp/-/work_items/16494"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-66757"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66757.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66757"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2507465"},{"type":"PACKAGE","url":"https://gitlab.gnome.org/GNOME/gimp"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.gnome.org/gnome/gimp","events":[{"introduced":"e101dd19b165f927d3ba0a74658a71537c5661b9"},{"last_affected":"e101dd19b165f927d3ba0a74658a71537c5661b9"}],"database_specific":{"extracted_events":[{"introduced":"3.2.6"},{"last_affected":"3.2.6"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:gimp:gimp:3.2.6:*:*:*:*:*:*:*"}}],"versions":["3.2.6","GIMP_3_2_6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-66757.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}