CVE-2026-112257
Received Received - Intake

Heap Out-of-Bounds Read in GIMP PSD Thumbnail Loader

Vulnerability report for CVE-2026-112257, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-19

Last updated on: 2026-10-19

Assigner: redhat-SADP

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-19
Last Modified
2026-10-19
Generated
2026-10-20
AI Q&A
2026-10-20
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
Red Hat Red Hat Enterprise Linux 10 *
Red Hat Red Hat Enterprise Linux 7 *
Red Hat Red Hat Enterprise Linux 8 *
Red Hat Red Hat Enterprise Linux 9 *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in GIMP, an image editing software. When processing PSD files with grayscale thumbnails, GIMP incorrectly swaps color channels without checking if the thumbnail is RGB. This causes a memory error where data is read and written outside expected bounds, potentially crashing the program or allowing arbitrary code execution.

Impact Analysis

If you open or browse a malicious PSD file, your GIMP installation could crash or execute arbitrary code. This might allow an attacker to take control of your system, steal data, or install malware. The risk is higher if you handle untrusted files regularly.

Mitigation Strategies

Update GIMP to the latest patched version to address the PSD thumbnail resource loader flaw. Avoid opening untrusted PSD files until patched. Monitor for crashes or unusual behavior when handling image files.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-112257. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart