CVE-2026-112257: GIMP heap out-of-bounds access in PSD thumbnail loader

CVE-2026-112257 · Severity: high · CVSS 7.8 · Published 2026-10-19

GIMP is an image editing application used for creating and manipulating graphics. A flaw in its PSD file thumbnail handling can be exploited when a user opens or browses a malicious PSD file, potentially leading to application crashes or arbitrary code execution on the attacker's behalf.

Technologies: GIMP.

Quick answers

Is CVE-2026-112257 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-112257 being exploited in the wild.
How severe is CVE-2026-112257?
High severity, with a CVSS score of 7.8, published 19 October 2026.
Which products and versions are affected?
GIMP.
Is there a fix for CVE-2026-112257?
No fixed version is recorded yet. Avoid opening or browsing untrusted PSD files in GIMP. If GIMP is not in use, remove the package entirely from your system.</anigation> <parameter name="timeline">[{"kind": "disclosed", "at": "2026-10-19"}] If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-112257 attacked?
It is attacked with local access.
Am I affected by CVE-2026-112257?
Check whether you run GIMP. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

Avoid opening or browsing untrusted PSD files in GIMP. If GIMP is not in use, remove the package entirely from your system.</anigation> <parameter name="timeline">[{"kind": "disclosed", "at": "2026-10-19"}]

Technical details

The PSD thumbnail resource loader in GIMP performs a BGR-to-RGB channel swap with a fixed 3-byte stride without validating that the embedded JPEG thumbnail is actually in RGB format. A crafted grayscale PSD thumbnail triggers a heap out-of-bounds read and write in the plug-in process. Exploitation requires user interaction (opening or browsing the file in GIMP), and successfully accessing memory allows potential arbitrary code execution.

Affected products

  • GIMP

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.