{"id":"UBUNTU-CVE-2026-66757","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-08-10T15:24:38.916374958Z","published":"2026-07-27T19:17:00Z","upstream":["CVE-2026-66757"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-66757"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-66757"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/gimp/-/work_items/16494"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2884"}],"affected":[{"package":{"name":"gimp","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.14-1ubuntu2","2.8.14-1.2ubuntu1","2.8.16-1ubuntu1","2.8.16-1ubuntu1.1","2.8.16-1ubuntu1.1+esm1","2.8.16-1ubuntu1.1+esm2","2.8.16-1ubuntu1.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.8.16-1ubuntu1.1+esm3"},{"binary_name":"gimp-data","binary_version":"2.8.16-1ubuntu1.1+esm3"},{"binary_name":"libgimp2.0","binary_version":"2.8.16-1ubuntu1.1+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66757.json"}},{"package":{"name":"gimp","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.20-1","2.8.20-1.1","2.8.20-2","2.8.22-1","2.8.22-1ubuntu0.1~esm1","2.8.22-1ubuntu0.1~esm2","2.8.22-1ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.8.22-1ubuntu0.1~esm3"},{"binary_name":"gimp-data","binary_version":"2.8.22-1ubuntu0.1~esm3"},{"binary_version":"2.8.22-1ubuntu0.1~esm3","binary_name":"libgimp2.0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66757.json"}},{"package":{"name":"gimp","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.8-2","2.10.14-2","2.10.14-2build1","2.10.14-2ubuntu1","2.10.14-3","2.10.18-1","2.10.18-1ubuntu0.1","2.10.18-1ubuntu0.1+esm1","2.10.18-1ubuntu0.1+esm2","2.10.18-1ubuntu0.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.10.18-1ubuntu0.1+esm3"},{"binary_version":"2.10.18-1ubuntu0.1+esm3","binary_name":"gimp-data"},{"binary_name":"libgimp2.0","binary_version":"2.10.18-1ubuntu0.1+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66757.json"}},{"package":{"name":"gimp","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.24-2","2.10.28-1","2.10.30-1","2.10.30-1build1","2.10.30-1ubuntu0.1","2.10.30-1ubuntu0.1+esm1","2.10.30-1ubuntu0.1+esm2","2.10.30-1ubuntu0.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.10.30-1ubuntu0.1+esm3"},{"binary_name":"gimp-data","binary_version":"2.10.30-1ubuntu0.1+esm3"},{"binary_version":"2.10.30-1ubuntu0.1+esm3","binary_name":"libgimp2.0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66757.json"}},{"package":{"name":"gimp","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10.34-1","2.10.36-1","2.10.36-2","2.10.36-3build2","2.10.36-3build3","2.10.36-3ubuntu0.24.04.1","2.10.36-3ubuntu0.24.04.1+esm1","2.10.36-3ubuntu0.24.04.1+esm2","2.10.36-3ubuntu0.24.04.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.10.36-3ubuntu0.24.04.1+esm3"},{"binary_name":"gimp-data","binary_version":"2.10.36-3ubuntu0.24.04.1+esm3"},{"binary_name":"libgimp2.0t64","binary_version":"2.10.36-3ubuntu0.24.04.1+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66757.json"}},{"package":{"name":"gimp","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/gimp?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.4-6.1","3.0.4-6.2","3.0.6-1","3.2.0~RC2-2","3.2.0~RC2-3","3.2.0~RC2-3.1","3.2.0~RC2-3.2","3.2.0~RC2-3.3","3.2.0~RC3-1","3.2.0-1","3.2.2-1","3.2.2-1ubuntu0.26.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.2.2-1ubuntu0.26.04.1","binary_name":"gimp"},{"binary_name":"gimp-data","binary_version":"3.2.2-1ubuntu0.26.04.1"},{"binary_name":"gir1.2-gimp-3.0","binary_version":"3.2.2-1ubuntu0.26.04.1"},{"binary_version":"3.2.2-1ubuntu0.26.04.1","binary_name":"libgimp-3.0-0"},{"binary_name":"libgimp-3.0-bin","binary_version":"3.2.2-1ubuntu0.26.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-66757.json"}}],"schema_version":"1.8.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"},{"type":"Ubuntu","score":"medium"}]}