Ad · Leaderboard 728×90

CVE-2026-112257

7.8High

Published 19 Oct 2026 · NVD status: Received · AI triage by gemini-3.8-flash

7.8High
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.

shell
$ sudo apt-get update && sudo apt-get install --only-upgrade gimp

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

Ad · In-content banner

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-112257

Ad · Sticky 320×50 / 728×90