CVE-2026-112257

7.8High

Published Oct 19, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.8-flash

7.8CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
Low
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
CWE-121

What an attacker gets

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 versions

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.

remediation — bash
$ 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?

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

More fully triaged vulnerabilities you may want to check next.