---
id: CVE-2026-82324
title: >-
  Gimp: heap out-of-bounds reads in iff/ilbm loader from ham row size mismatch
  and nplanes=0
summary: >-
  A flaw was found in the file-iff (IFF/ILBM) plugin in GIMP. When processing a
  specially crafted IFF/ILBM image file, the plugin does not properly validate
  the HAM row size and improperly handles cases where the number of color planes
  (nP…
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-125
vendor: GNOME
product: gimp
affected:
  - gimp >= 3.0.0 < *
  - gimp
  - gimp
  - 'gimp:2.8/gimp'
  - gimp (all versions)
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-08-31T18:39:20.305463Z'
published: '2026-08-28'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T01:04:29.809Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-82324'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-82324'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2525609'
    label: RHBZ#2525609
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/work_items/16584'
tags:
  - cve.org
epss: 0.00185
epssPercentile: 0.08191
ingestedAt: '2026-11-06T01:43:15.124Z'
---

## Overview

A flaw was found in the file-iff (IFF/ILBM) plugin in GIMP. When processing a specially crafted IFF/ILBM image file, the plugin does not properly validate the HAM row size and improperly handles cases where the number of color planes (nPlanes) is zero. This causes a row size mismatch that bypasses memory bounds checking, resulting in heap out-of-bounds reads. This issue can result in an application crash, leading to a denial of service or a limited information disclosure of heap memory contents.

## Affected

- `gimp >= 3.0.0 < *`
- `gimp`
- `gimp`
- `gimp:2.8/gimp`
- `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 IFF/ILBM files from untrusted sources with GIMP.
