{"id":"CVE-2026-78465","summary":"Gimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bit","details":"A flaw was found in the file-pcx plugin in GIMP, affecting 32-bit builds only. When processing a PCX image file, the plugin calculates memory allocation sizes based on the image dimensions and the number of color planes. If a crafted file sets the number of planes to 4 alongside sufficiently large dimensions, the calculation exceeds the 32-bit integer limit and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when the plugin subsequently writes image data into the undersized buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.","modified":"2026-09-03T03:48:20.088281919Z","published":"2026-08-24T16:28:12.574Z","database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-190"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78465.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://gitlab.gnome.org/GNOME/gimp/-/work_items/16578"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-78465"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78465.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78465"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2522057"},{"type":"PACKAGE","url":"https://gitlab.gnome.org/GNOME/gimp"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gnome/gimp","events":[{"introduced":"178d993d56ed5402e26899190c19ca197dbb74e5"},{"last_affected":"85f9dabdb839df44c4b0b45aa51e8e140b28a49f"}],"database_specific":{"cpe":"cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.0.0"},{"last_affected":"3.2.4"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78465.json"}},{"ranges":[{"type":"GIT","repo":"https://gitlab.gnome.org/gnome/gimp","events":[{"introduced":"9785099e5a0dcdc3011dd26c6c2e9b332d36c035"},{"last_affected":"6987b3853c10517eb581deeb20572fb5f99a7086"}],"database_specific":{"cpe":"cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.0.0"},{"last_affected":"3.2.4"}],"source":"CPE_RANGE"}}],"versions":["GIMP_3_2_4","GIMP_3_2_2-windows-fixes","GIMP_3_2_2","GIMP_3_2_0-windows-fixes","GIMP_3_2_0","GIMP_3_2_0_RC3","GIMP_3_2_0_RC2","GIMP_3_2_0_RC1","GIMP_3_1_4","GIMP_3_1_2","GIMP_3_0_4","GIMP_3_0_2","GIMP_3_0_0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78465.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}