CVE-2026-40915
published medium CVSS 3.1 · 5.5Gimp: gimp: heap buffer overflow due to integer overflow in fits image loader
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 6, 7, 9 | gimp | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | gimp:2.8/gimp | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2GIMP-2026-015 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2GIMP-2026-017 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | gimpsrc | Listed in advisory | Not stated | ALAS2GIMP-2026-015 |
| Amazon Linux | AL2 | gimpsrc | Listed in advisory | Not stated | ALAS2GIMP-2026-017 |
| Amazon Linux | AL2 | gimpx86_64 | Listed in advisory | Not stated | ALAS2GIMP-2026-015 |
| Amazon Linux | AL2 | gimpx86_64 | Listed in advisory | Not stated | ALAS2GIMP-2026-017 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 6 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
Weaknesses
1- CWE-190 Integer Overflow or Wraparound
References
2- https://access.redhat.com/security/cve/CVE-2026-40915
- RHBZ#2458744 https://bugzilla.redhat.com/show_bug.cgi?id=2458744
Provider assertions
2redhat · cna
Gimp: gimp: heap buffer overflow due to integer overflow in fits image loader
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 01dc7259a4405fff99e1356a30cb8790d44255951c03f1fb2f6aa3e63295cdc4
- Ingested
- 24 Nov 2026, 20:55:00 UTC
- Source record
- Official CVE record