---
id: CVE-2026-82343
title: >-
  Gimp: heap out-of-bounds read and stack out-of-bounds access in psd loader
  from channel-count handling
summary: >-
  A flaw was found in the file-psd plugin in GIMP. When processing a specially
  crafted PSD image file, the plugin does not properly validate the
  channel-count parameter. This incorrect validation leads to improper memory
  bounds checking, r…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-120
vendor: GNOME
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: partial
  timestamp: '2026-09-01T14:32:40.621424Z'
published: '2026-08-28'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T01:04:41.080Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-82343'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-82343'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2525644'
    label: RHBZ#2525644
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/work_items/16587'
tags:
  - cve.org
epss: 0.00183
epssPercentile: 0.07975
ingestedAt: '2026-11-06T01:43:15.125Z'
---

## Overview

A flaw was found in the file-psd plugin in GIMP. When processing a specially crafted PSD image file, the plugin does not properly validate the channel-count parameter. This incorrect validation leads to improper memory bounds checking, resulting in both a heap out-of-bounds read and a stack out-of-bounds access. This issue can result in an application crash, leading to a denial of service or a limited information disclosure of memory contents.

## 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

To mitigate this vulnerability, do not open PSD files from untrusted sources with GIMP.
