CVE-2026-66759

Gimp: out-of-bounds read in file-icns plugin causes information disclosure or crash on crafted icns images

Published Jul 27, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
A flaw was found in the file-icns plugin in GIMP. When applying a decompressed mask during ICNS image processing, the plugin reads from the mask data buffer without verifying if the cursor exceeds the allocated resource size. If a crafted file contains a truncated mask resource, the icns_decompress function continues reading past the bounds of the buffer. This out-of-bounds read vulnerability results in information disclosure of heap contents, where memory contents are leaked as alpha channel pixel values, or a crash leading to a denial of service if unmapped memory is accessed.

Analysis

AI-generated

Technical impact

A flaw was found in GIMP's file-icns plugin. When decompressing the mask resource during ICNS image processing, the plugin reads from the mask data buffer without checking bounds. If the ICNS file contains a truncated mask, the plugin reads past the end of the buffer. This out-of-bounds read leaks heap contents as alpha‑channel pixel values or aborts the application, resulting in either sensitive data disclosure or a denial of service. The weakness is classified as CWE‑125.

Affected Systems

Systems running Red Hat Enterprise Linux 6, 7, 8, or 9 that have GIMP installed are affected, as the GIMP packages provided by Red Hat include the vulnerable file‑icns plugin. The issue is linked specifically to the GIMP component rather than the underlying OS itself, but any deployment of GIMP on those RHEL releases may be impacted.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity. The EPSS score of < 1% indicates a very low but non-zero exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, the attack requires local access to open a crafted ICNS file with GIMP; therefore the most likely vector is a local, user‑initiated file upload or a malicious file presented to a user who is running GIMP.

Remediation

Vendor Workaround

To mitigate this vulnerability, do not open ICNS files from untrusted sources with GIMP.


OpenCVE Recommended Actions

  • Do not open ICNS files from untrusted sources with GIMP.
  • Update to a GIMP version that includes the fix for the out‑of‑bounds read when it is released by the vendor.
  • If no updated version is available, disable or uninstall the file‑icns plugin so that GIMP cannot load ICNS files.

Generated by OpenCVE AI on August 3, 2026 at 16:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6470-1 gimp security update
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8 cpe:/o:redhat:enterprise_linux:8
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:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:8
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
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
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp
Type Values Removed Values Added
Description A flaw was found in the file-icns plugin in GIMP. When applying a decompressed mask during ICNS image processing, the plugin reads from the mask data buffer without verifying if the cursor exceeds the allocated resource size. If a crafted file contains a truncated mask resource, the icns_decompress function continues reading past the bounds of the buffer. This out-of-bounds read vulnerability results in information disclosure of heap contents, where memory contents are leaked as alpha channel pixel values, or a crash leading to a denial of service if unmapped memory is accessed.
Title Gimp: out-of-bounds read in file-icns plugin causes information disclosure or crash on crafted icns images
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-125
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.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 8:19 PM
Reserved
Jul 27, 2026, 5:24 PM
Status
Analyzed
Published
Jul 27, 2026, 7:17 PM
Modified
Nov 24, 2026, 9:18 PM