---
id: CVE-2026-119528
title: 'Gimp: gimp: stack buffer overflow in psd image resource header loader'
summary: >-
  A flaw was found in GIMP. The PSD plug-in’s image resource header loader uses
  an incorrect destination size when copying a converted resource name into a
  fixed stack buffer. Opening a crafted PSD file can cause a stack-based buffer
  overf…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-121
vendor: Red Hat
product: gimp
affected:
  - gimp (all versions)
  - gimp
  - gimp (all versions)
  - 'gimp:2.8/gimp (all versions)'
  - gimp (all versions)
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-30T00:00:00+00:00'
published: '2026-10-30'
updated: '2026-11-04'
sourceUpdated: '2026-11-04T22:06:17.725Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-119528'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-119528'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2563900'
    label: RHBZ#2563900
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/work_items/16799'
tags:
  - cve.org
epss: 0.00186
epssPercentile: 0.08244
ingestedAt: '2026-11-05T21:36:00.633Z'
---

## Overview

A flaw was found in GIMP. The PSD plug-in’s image resource header loader uses an incorrect destination size when copying a converted resource name into a fixed stack buffer. Opening a crafted PSD file can cause a stack-based buffer overflow, leading to a crash and potentially arbitrary code execution.

## Affected

- `gimp (all versions)`
- `gimp`
- `gimp (all versions)`
- `gimp:2.8/gimp (all versions)`
- `gimp (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

Do not open untrusted PSD files in GIMP. Avoid browsing directories containing untrusted PSD files in GIMP’s file dialog if thumbnail/preview loading may parse PSD resources. If GIMP is not required, remove the gimp package.
