CVE-2026-119528
gimp: gimp: stack buffer overflow in PSD image resource header loader
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 26, 2026
Updated · October 31, 2026
Description
A flaw was found in GIMP. The PSD plug-in’s image resource header loader uses an incorrect destination size when copying a converted resource name into a fixed stack buffer. Opening a crafted PSD file can cause a stack-based buffer overflow, leading to a crash and potentially arbitrary code execution.
Statement
This Important flaw affects GIMP’s PSD (Photoshop) file import plug-in. Exploitation requires user interaction to open a crafted PSD file (or otherwise cause the PSD plug-in to parse untrusted image resource headers). Successful exploitation can crash the plug-in process and may allow arbitrary code execution in the context of the user running GIMP.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Do not open untrusted PSD files in GIMP. Avoid browsing directories containing untrusted PSD files in GIMP’s file dialog if thumbnail/preview loading may parse PSD resources. If GIMP is not required, remove the gimp package.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-121 · Stack-based Buffer Overflow