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.
Published: 2026-07-27
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

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

No advisories yet.

History

Wed, 05 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::appstream
References

Tue, 28 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp

Mon, 27 Jul 2026 20:30:00 +0000

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'}


Subscriptions

Gimp Gimp
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-05T15:21:44.356Z

Reserved: 2026-07-27T17:24:27.249Z

Link: CVE-2026-66759

cve-icon Vulnrichment

Updated: 2026-07-27T19:24:47.052Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-27T19:17:23.747

Modified: 2026-08-07T00:08:32.003

Link: CVE-2026-66759

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T17:00:06Z

Weaknesses