← Back to search

CVE-2026-112257

7.8 HIGH

Published 2026-10-19 · Updated 2026-10-20

AI risk analysis

Summary
A heap out-of-bounds read/write occurs in GIMP's PSD thumbnail loader when processing grayscale JPEG thumbnails, as the BGR-to-RGB conversion assumes a fixed 3-byte stride without validating image format, enabling crash or potential arbitrary code execution.
Exploitability
Exploitation requires a crafted grayscale PSD file with a malformed JPEG thumbnail and user interaction (opening or browsing the file); local access is sufficient due to the plug-in process context.
Blast radius
Successful exploitation could lead to remote code execution in the GIMP plug-in process, compromising confidentiality, integrity, and availability of the affected system.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to GIMP version 2.10.38 or later, where the PSD thumbnail loader validates JPEG format before performing channel swapping.
heap-overflowrcefile-parsergimpout-of-bounds-read

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CWE-121

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.