CVE Database›Document archive›CVE-2026-62439

CVE-2026-62439

gimp: gimp: file-pvr Plug-in PVR File Parsing Integer Overflow Heap-based Buffer Overflow Vulnerability

Loading…

Severity

Important

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · April 28, 2026

Updated · November 5, 2026

Description

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.

Statement

Red Hat has evaluated this vulnerability as having an Important severity because successful exploitation can allow an attacker to achieve arbitrary code execution within the privileges of the running desktop user. In typical Red Hat Enterprise Linux deployments, GIMP is an optional desktop application and is not included or active on default headless server installations, limiting exposure to systems configured with graphical user environments. To exploit the flaw, an attacker must rely on user interaction, convincing a local user to open or index an untrusted PowerVR texture file.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

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

CVSS / CWE

CVSS 3.1 · 7
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

CWE-190 · Integer Overflow or Wraparound