CVE-2026-112257
7.8HighPublished 19 Oct 2026 · NVD status: Received · AI triage by gemini-3.8-flash
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-121
Impact
Attackers can crash the application or potentially execute arbitrary code in the context of the user running GIMP. To exploit it, they must trick a user into opening or browsing a directory containing a specially crafted PSD file.
Root cause
The PSD thumbnail resource loader blindly executes a fixed 3-byte stride BGR-to-RGB channel swap without checking whether the JPEG thumbnail is actually RGB instead of grayscale, triggering a heap out-of-bounds read and write.
Affected systems
Versions not listed — check the vendor advisory.
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade GIMP once a patched package is released by your OS vendor; as an interim workaround, do not preview or open untrusted PSD files, or disable the file-psd plugin binary if PSD support is not required.
$ sudo apt-get update && sudo apt-get install --only-upgrade gimpAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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-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.