CVE-2026-90948

Gimp: gimp: heap-based buffer overflow in ico loader via integer overflow in embedded png dimensions

Published Sep 14, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
A flaw was found in GIMP's ICO file loader. When processing an ICO file containing an embedded PNG image, an integer overflow can occur during the calculation of the required buffer size. This leads to an undersized buffer being allocated, causing a heap-based buffer overflow when the decoded pixel data is written. A remote attacker could exploit this by crafting a malicious ICO file, which, when opened, could lead to arbitrary code execution or a crash.

Analysis

AI-generated

Technical impact

An integer overflow in GIMP’s ICO file loader can cause the calculated buffer size for an embedded PNG image to be smaller than required, resulting in a heap‑based buffer overflow when the decoded pixel data is written. An attacker who can supply a crafted ICO file may gain arbitrary code execution or trigger a crash, depending on whether the overflow can be used to overwrite function pointers or critical control data.

Affected Systems

Red Hat Enterprise Linux 6, 7, 8, and 9 ship GIMP packages that are affected by this flaw. Because the CVE does not specify an exact GIMP version range, all current RHEL releases that include the vulnerable GIMP package are potentially vulnerable until a fixed build is deployed.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, although no EPSS score is available. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires a user with access to the file system to open a malicious ICO file with GIMP, making the threat most acute for local or shared environments. If exploited successfully, an attacker can execute arbitrary code with the privileges of the running user, posing a significant risk in settings where users run GIMP with elevated rights.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Install the latest GIMP package that contains the fix for the integer overflow in the ICO loader.
  • If a patched package is not yet available, restrict access to unknown or untrusted ICO files and perform strict file type checks before opening.
  • Run GIMP under a non‑privileged account or in a sandboxed environment to contain potential memory corruption exploits.
  • Regularly consult Red Hat’s security advisories to monitor for an updated package that addresses this flaw.

Generated by OpenCVE AI on September 15, 2026 at 13:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6509-1 gimp security update
History
Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Red Hat
Red Hat enterprise Linux
Vendors & Products Gimp
Gimp gimp
Red Hat
Red Hat enterprise Linux
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.2::appstream
Vendors & Products Redhat rhel E4s
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:8::appstream
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::appstream
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in GIMP's ICO file loader. When processing an ICO file containing an embedded PNG image, an integer overflow can occur during the calculation of the required buffer size. This leads to an undersized buffer being allocated, causing a heap-based buffer overflow when the decoded pixel data is written. A remote attacker could exploit this by crafting a malicious ICO file, which, when opened, could lead to arbitrary code execution or a crash.
Title Gimp: gimp: heap-based buffer overflow in ico loader via integer overflow in embedded png dimensions
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-787
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 11, 2026, 1:03 PM
Reserved
Sep 14, 2026, 11:41 AM
Status
Awaiting Analysis
Published
Sep 14, 2026, 2:17 PM
Modified
Nov 11, 2026, 1:17 PM
Severity
Important
Public date
Sep 14, 2026, 12:03 PM