Vulnerability · Published Apr 15, 2026 · Assigned by redhat
CVE-2026-40915Gimp: gimp: heap buffer overflow due to integer overflow in fits image loader
Medium 5.5
In plain English
A medium-severity integer overflow in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gimp | no fix listed | DEBIAN-CVE-2026-40915 |
| Debian:13 | gimp | 3.0.4-3+deb13u9 | DEBIAN-CVE-2026-40915 |
| Debian:14 | gimp | 3.2.2-1 | DEBIAN-CVE-2026-40915 |
| Ubuntu:25.10 | gimp | no fix listed | UBUNTU-CVE-2026-40915 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://access.redhat.com/security/cve/CVE-2026-40915 vdb-entry, x_refsource_REDHAT
- RHBZ#2458744 issue-tracking, x_refsource_REDHAT