{"id":"CVE-2026-112257","title":"Gimp: gimp: heap out-of-bounds read/write in psd thumbnail loader (load_resource_1033)","summary":"A flaw was found in GIMP. The PSD thumbnail resource loader performs a BGR-to-RGB channel swap with a fixed 3-byte stride and does not verify that the JPEG thumbnail is RGB. A crafted grayscale PSD thumbnail can cause a heap out-of-bound…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-121"],"vendor":"Red Hat","product":"gimp","affected":["gimp (all versions)","gimp","gimp (all versions)","gimp:2.8/gimp (all versions)","gimp (all versions)"],"published":"2026-10-19","updated":"2026-10-19","sourceUpdated":"2026-10-19T21:37:19.467Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112257","references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-112257"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2555574","label":"RHBZ#2555574"}],"tags":["cve.org"],"ingestedAt":"2026-10-19T21:43:56.109Z","slug":"CVE-2026-112257","body":"## Overview\n\nA flaw was found in GIMP. The PSD thumbnail resource loader performs a BGR-to-RGB channel swap with a fixed 3-byte stride and does not verify that the JPEG thumbnail is RGB. A crafted grayscale PSD thumbnail can cause a heap out-of-bounds read and write in the plug-in process, leading to a crash and potentially arbitrary code execution when the victim browses or opens the file.\n\n## Affected\n\n- `gimp (all versions)`\n- `gimp`\n- `gimp (all versions)`\n- `gimp:2.8/gimp (all versions)`\n- `gimp (all versions)`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n### Workarounds\n\nAvoid opening or browsing untrusted PSD files in GIMP. If GIMP is unused, remove the gimp package.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}