# CVE-2026-18306: GIMP SGI file parsing integer overflow

Source: https://junglewise.ai/threats/cve-2026-18306-gimp-sgi-file-parsing-integer-overflow  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-20. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-18306 · Severity: high · CVSS 7.8 · Published 2026-08-20

GIMP is a popular image editing application used by designers and content creators. A vulnerability in SGI image file parsing allows attackers to execute arbitrary code when a user opens a malicious image file, potentially compromising the user's system and any sensitive image data being edited.

Technologies: [Gimp](https://junglewise.ai/threats/technologies/gimp). Vendors: [Gimp](https://junglewise.ai/threats/vendors/gimp).

## Quick answers

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

**How severe is CVE-2026-18306?** High severity, with a CVSS score of 7.8, published 20 August 2026.

**Which products and versions are affected?** GIMP GIMP.

**Is there a fix for CVE-2026-18306?** A patch was published on 2026-07-29: GIMP issued update; fix available at gitlab.gnome.org/GNOME/gimp/-/commit/76531da9732f38566e5fd8f8f80c837158511ae5 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-18306 attacked?** It is attacked with local access.

**Am I affected by CVE-2026-18306?** Check whether you run Gimp. 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.

## Technical details

An integer overflow vulnerability exists in GIMP's SGI file parser due to insufficient validation of user-supplied data before memory operations. The vulnerability is triggered when parsing a malicious SGI file, allowing an integer overflow to occur prior to a write operation. Exploitation requires user interaction—the target must open a crafted SGI image file or visit a malicious page hosting the file. A successful exploit executes arbitrary code within the context of the GIMP process with the privileges of the running user. GIMP has released a patch available on their GitLab repository.

## Affected products

- GIMP GIMP

## Timeline

- 2026-04-17: disclosed: Vulnerability reported to vendor
- 2026-07-29: advisory: Coordinated public release of advisory
- 2026-07-29: patched: GIMP issued update; fix available at gitlab.gnome.org/GNOME/gimp/-/commit/76531da9732f38566e5fd8f8f80c837158511ae5

## References

- [https://gitlab.gnome.org/GNOME/gimp/-/commit/76531da9732f38566e5fd8f8f80c837158511ae5](https://gitlab.gnome.org/GNOME/gimp/-/commit/76531da9732f38566e5fd8f8f80c837158511ae5)
- [https://www.zerodayinitiative.com/advisories/ZDI-26-459/](https://www.zerodayinitiative.com/advisories/ZDI-26-459/)

## 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)
