CVE-2026-112257 Gimp: gimp: heap out-of-bounds read/write in psd thumbnail loader (load_resource_1033)
A heap out-of-bounds read/write in GIMP's PSD thumbnail loader allows attackers to execute arbitrary code or cause a crash via a crafted file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-112257?
CVE-2026-112257 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 19 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-121
Which versions are affected by CVE-2026-112257?
How do I fix CVE-2026-112257?
No fix has been published for CVE-2026-112257 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-112257 being exploited?
There is no known exploitation of CVE-2026-112257 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-112257, GHSA-cch8-wx4h-hxqr, UBUNTU-CVE-2026-112257.