---
id: CVE-2026-80101
title: >-
  Gimp: multiple heap out-of-bounds reads in xwd loader from unrelated width and
  bytes-per-line validation
summary: >-
  A flaw was found in the file-xwd plugin in GIMP. When processing a specially
  crafted XWD image file, the plugin validates the image width and
  bytes-per-line parameters independently rather than ensuring their combined
  values are consiste…
severity: medium
cvss: 4.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-125
vendor: GNOME
product: gimp
affected:
  - gimp (all versions)
  - gimp
  - gimp (all versions)
  - 'gimp:2.8/gimp (all versions)'
  - gimp (all versions)
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-08-26T14:41:23.811388Z'
exploitAvailable: true
published: '2026-08-25'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T00:55:19.905Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-80101'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-80101'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2523738'
    label: RHBZ#2523738
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/work_items/16583'
tags:
  - cve.org
  - exploit-available
epss: 0.00234
epssPercentile: 0.14342
ingestedAt: '2026-11-06T01:43:15.128Z'
---

## Overview

A flaw was found in the file-xwd plugin in GIMP. When processing a specially crafted XWD image file, the plugin validates the image width and bytes-per-line parameters independently rather than ensuring their combined values are consistent with the allocated buffer size. This incorrect validation leads to improper bounds checking, causing a heap out-of-bounds read. This issue can result in an application crash, leading to a denial of service or a limited information disclosure of heap memory contents into the produced image.

## 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 XWD files from untrusted sources with GIMP.
