Description
A flaw was found in GIMP. A remote attacker could exploit an integer overflow vulnerability in the FITS image loader by providing a specially crafted FITS file. This integer overflow leads to a zero-byte memory allocation, which is then subjected to a heap buffer overflow when processing pixel data. Successful exploitation could result in a denial of service (DoS) or potentially arbitrary code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gimp | 3.2.2-1 | — |
| Debian 13 | gimp | 3.0.4-3+deb13u9 | — |
| Debian 12 | gimp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | gimp | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | gimp | No fix yet | — |
| Ubuntu Pro 22.04 LTS | gimp | No fix yet | — |
| Ubuntu Pro 20.04 LTS | gimp | No fix yet | — |
| Ubuntu Pro 18.04 LTS | gimp | No fix yet | — |
| Ubuntu Pro 16.04 LTS | gimp | No fix yet | — |
Advisories 1
- WID-SEC-2026-1144 GIMP: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 17, 2026
References
- https://access.redhat.com/security/cve/CVE-2026-40915 vdb-entry
- RHBZ#2458744 issue-tracking