Gimp: integer overflow in file-fits plugin causes a heap-based buffer overflow on crafted fits images (GNOME GIMP)
En bref
- Source
- NVD
- EPSS
- EPSS 0.30 % · centile 22 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Modified
Rechercher sur…
Description
A flaw was found in the file-fits plugin in GIMP. When processing a FITS image file, the plugin calculates memory allocation sizes using signed 32-bit integers for width and height. If a crafted file sets both values to large values, their product exceeds 2^31 and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when cfitsio subsequently writes a full row of pixels in the buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.
Faiblesses (CWE)
- CWE-190 — Débordement d'entier
Références
- https://access.redhat.com/errata/RHSA-2026:50817
- https://access.redhat.com/errata/RHSA-2026:62507
- https://access.redhat.com/errata/RHSA-2026:73768
- https://access.redhat.com/errata/RHSA-2026:80509
- https://access.redhat.com/security/cve/CVE-2026-66758
- https://bugzilla.redhat.com/show_bug.cgi?id=2507475
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16528
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-49402
- GCVE · GCVE-0-2026-66758
Configurations affectées (CPE NVD)
cpe:2.3:a:gimp:gimp:3.0.8:*:*:*:*:*:*:*cpe:2.3:a:gimp:gimp:3.2.4:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| GNOME · GIMP | |
| Red Hat · Red Hat Enterprise Linux 8 | unaffected 8100020260824165450.4c9c024f < * |
| Red Hat · Red Hat Enterprise Linux 9 | unaffected 2:3.0.4-4.el9_8.9 < * |
| Red Hat · Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | unaffected 2:2.99.8-4.el9_4.19 < * |
| Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Support | unaffected 2:2.99.8-4.el9_6.20 < * |
| Red Hat · Red Hat Enterprise Linux 6 | |
| Red Hat · Red Hat Enterprise Linux 7 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |