# CVE-2026-40917: A flaw was found in GIMP. This vulnerability, a heap buffer over-read in the `icns_slurp()` function, occurs when…

Source: https://junglewise.ai/threats/cve-2026-40917-a-flaw-was-found-in-gimp-this-vulnerability-a-heap-buffer-over  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-15  
License: CC BY 4.0 with a link back

CVE-2026-40917 · Severity: medium · CVSS 5 · Published 2026-04-15

A flaw was found in GIMP. This vulnerability, a heap buffer over-read in the `icns_slurp()` function, occurs when processing specially crafted ICNS image files. An attacker could provide a malicious ICNS file, potentially leading to application crashes or information disclosure on systems that process such files.

Technologies: [Gimp](https://junglewise.ai/threats/technologies/gimp), [Redhat Enterprise Linux](https://junglewise.ai/threats/technologies/enterprise-linux). Vendors: [Gimp](https://junglewise.ai/threats/vendors/gimp), [Redhat](https://junglewise.ai/threats/vendors/redhat).

## Quick answers

**Is CVE-2026-40917 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-40917 being exploited in the wild.

**How severe is CVE-2026-40917?** Medium severity, with a CVSS score of 5, published 15 April 2026.

**Which products and versions are affected?** Gimp, Redhat Enterprise Linux. The advisory does not name versions.

**Is there a fix for CVE-2026-40917?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2026-40917?** Check whether you run Gimp or Redhat Enterprise Linux. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Gimp
- Redhat Enterprise Linux

## Related threats

- [GIMP use-after-free in XCF path loader](https://junglewise.ai/threats/cve-2026-112261-a-flaw-was-found-in-gimp-opening-a-crafted-xcf-that-selects-a)
- [GIMP use-after-free in XCF loader](https://junglewise.ai/threats/cve-2026-112258-a-flaw-was-found-in-gimp-the-xcf-loader-can-leave-a-dangling)
- [GIMP integer overflow in file-pvr plug-in](https://junglewise.ai/threats/cve-2026-62439-a-flaw-was-found-in-gimp-an-integer-overflow-occurs-in-the-file)
- [GIMP heap buffer overflow in raw data export](https://junglewise.ai/threats/cve-2026-106066-a-heap-based-buffer-overflow-was-found-in-gimp-s-raw-data-export)
- [GIMP heap buffer overflow in GIF export](https://junglewise.ai/threats/cve-2026-106064-a-heap-based-buffer-overflow-was-found-in-gimp-s-gif-export-plug)
