CVE-2026-66759
Gimp: out-of-bounds read in file-icns plugin causes information disclosure or crash on crafted icns images
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| gimpGNOME | affected: 2.99.14 to < * | See vendor advisory |
| gimpRed Hat | unaffected: 2:3.0.4-4.el9_8.9 to < * | See vendor advisory |
| gimpRed Hat | Default status: unaffected | See vendor advisory |
| gimpRed Hat | Default status: unaffected | See vendor advisory |
| gimp:2.8/gimpRed Hat | Default status: unaffected | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.