{"id":"CVE-2026-66758","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-66758","generatedAt":"2026-10-28T09:26:59.749Z","title":"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.","description":"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.","published":"2026-07-27T19:17:24.000Z","lastModified":"2026-10-12T03:17:20.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"cwe":["CWE-190"],"affected":["gimp/gimp","redhat/enterprise linux"],"epss":{"score":0.00296,"percentile":0.22105,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.30%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:50817","tags":["Issue Tracking"],"source":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:62507","source":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:73768","source":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:80509","source":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2026-66758","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2507475","tags":["Issue Tracking","Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://gitlab.gnome.org/GNOME/gimp/-/issues/16528","tags":["Exploit","Issue Tracking","Vendor Advisory"],"source":"secalert@redhat.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-66758","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}