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

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

CVSS 3.1 score 7.1 out of 10.

Reported versions and fixes

  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product — Reported version range cpe:2.3:a:gimp:gimp:3.0.8:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:a:gimp:gimp:3.2.4:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

Source evidence