ZeroHour

CVE-2026-92248

mass

Heap Buffer Overflow via Integer Overflow in GIMP file-psd Thumbnail Parser

CVSS 3.1
7.8 high
EPSS
Published
()
Modified
AI analysis

GIMP's file-psd plugin contains an integer overflow (CWE-190) that occurs when it multiplies values from an embedded JPEG header while generating a thumbnail preview for a specially crafted PSD image. The overflow results in an undersized heap allocation, and subsequent decoding of the image data writes beyond that buffer, corrupting adjacent heap objects. Successful exploitation can crash the application or achieve arbitrary code execution with the privileges of the user running GIMP. Any user who opens a malicious PSD file is affected, since the flaw requires user interaction (opening the file) but no privileges. No public proof-of-concept exists and the issue is not in the CISA KEV catalog, so exploitation status is currently unknown/none known.

What to do: Update GIMP to the latest release from your distribution's package manager or gimp.org as soon as a fixed build is published. Until patched, avoid opening PSD files from untrusted or unknown sources and consider disabling the file-psd plugin if PSD support is not required. On multi-user systems, run GIMP under a non-privileged account to limit the impact of potential code execution.

Affected
GIMP (GNOME) GIMP (file-psd plugin)
Estimated exposure
mass≈ tens of millions of desktop installations worldwide (order of magnitude: 10M+) — GIMP is one of the most widely installed open-source image editors, distributed for Windows, macOS, and bundled or available in virtually every major Linux distribution, with millions of downloads per year and no reliable per-user…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A flaw was found in the file-psd plugin in GIMP. When generating a thumbnail preview for a specially crafted PSD (Photoshop Document) image file, an integer overflow occurs during the multiplication of values from an embedded JPEG header. This leads to an undersized heap allocation, resulting in a heap-based buffer overflow when the image data is decoded. This buffer overflow corrupts adjacent heap objects, allowing for a controlled memory write that can result in an application crash or arbitrary code execution.

Weakness
CWE-190
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.