---
id: CVE-2026-2239
title: >-
  Gimp: gimp: application crash (dos) via crafted psd file due to
  heap-buffer-overflow
summary: >-
  A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the
  fread_pascal_string function when processing a specially crafted PSD
  (Photoshop Document) file. This occurs because the buffer allocated for a
  Pascal string is no…
severity: low
cvss: 2.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-170
vendor: Red Hat
product: gimp
affected:
  - gimp
  - 'gimp:2.8/gimp (all versions)'
  - gimp (all versions)
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-03-30T11:29:11.654804Z'
published: '2026-03-26'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T17:54:43.710Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-2239'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-2239'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2437675'
    label: RHBZ#2437675
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/issues/15812'
tags:
  - cve.org
epss: 0.00504
epssPercentile: 0.43336
ingestedAt: '2026-11-06T18:00:12.493Z'
---

## Overview

A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not properly null-terminated, leading to an out-of-bounds read when strlen() is subsequently called. Successfully exploiting this vulnerability can cause the application to crash, resulting in an application level Denial of Service.

## Affected

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

## Remediation

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

### Workarounds

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
