---
id: CVE-2026-62439
title: >-
  Gimp: gimp: file-pvr plug-in pvr file parsing integer overflow heap-based
  buffer overflow vulnerability
summary: >-
  A flaw was found in GIMP. An integer overflow occurs in the file-pvr plug-in
  when calculating memory buffer sizes for image dimensions. By tricking a user
  into opening or previewing a specially crafted PowerVR (.pvr) file, an
  attacker ca…
severity: high
cvss: 7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-190
vendor: Red Hat
product: gimp
affected:
  - gimp
  - gimp
  - gimp (all versions)
  - 'gimp:2.8/gimp (all versions)'
  - gimp (all versions)
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-19T15:02:02.602539Z'
exploitAvailable: true
published: '2026-10-16'
updated: '2026-10-20'
sourceUpdated: '2026-10-20T20:42:41.359Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-62439'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-62439'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2554464'
    label: RHBZ#2554464
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/issues/16314'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-62439.json
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-62439'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-62439'
tags:
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
epss: 0.00246
epssPercentile: 0.15752
ingestedAt: '2026-10-16T22:54:45.857Z'
---

## Overview

A flaw was found in GIMP. An integer overflow occurs in the file-pvr plug-in when calculating memory buffer sizes for image dimensions. By tricking a user into opening or previewing a specially crafted PowerVR (.pvr) file, an attacker can trigger a heap-based buffer overflow, potentially leading to arbitrary code execution or a Denial of Service (DoS) via an application crash.

## Affected

- `gimp`
- `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

--- CME Mitigation Guidance (2026-10-20) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.

The highest-value action is to enforce checked arithmetic and header dimension bounds verification before allocating pixel destination buffers in the file-pvr plug-in: upgrade to the fixed Gimp/Gimp:2.8/Gimp builds, which validate header width and height dimensions against MAX_TWIDDLE_SIZE and use checked multiplication for buffer size calculations, closing all 2 injection vectors (opening a crafted .pvr file in GIMP, thumbnailing or previewing a crafted .pvr file). Until patched, this is a concern on Users and automated indexing or thumbnailing services processing PowerVR (.pvr) files, so Avoid opening untrusted PowerVR (.pvr) texture files in GIMP and disable automated thumbnail generation or file indexer processing for .pvr files. As a compensating measure, Compile with signed integer overflow trapping (-ftrapv or UndefinedBehaviorSanitizer) to abort execution if buffer size arithmetic overflows. These controls limit blast radius and contain exploitation, but they do not fix the underlying integer overflow and heap buffer overflow defect — apply the upstream patch to fully remediate.

Highest-impact CME: CME-1311 Input Size and Quantity Bounds Enforcement (high)

## Vendor advisories

- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-10-19 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-62439.json)
