Descrizione
A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Gimp Gimp: vulnerabile la versione
3.2.6→ installare l'ultima release supportata dal vendor. - Redhat Enterprise Linux: vulnerabile la versione
7.0→ installare l'ultima release supportata dal vendor. - Redhat Enterprise Linux: vulnerabile la versione
8.0→ installare l'ultima release supportata dal vendor. - Redhat Enterprise Linux: vulnerabile la versione
9.0→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Advisory del vendor: access.redhat.com/security/cve/CVE-2026-66757
- Advisory del vendor: bugzilla.redhat.com/show_bug.cgi
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Gimp | Gimp | 3.2.6 | — |
| Redhat | Enterprise Linux | 7.0 | — |
| Redhat | Enterprise Linux | 8.0 | — |
| Redhat | Enterprise Linux | 9.0 | — |
Riferimenti
- Advisory del vendorhttps://access.redhat.com/security/cve/CVE-2026-66757
- Advisory del vendorhttps://bugzilla.redhat.com/show_bug.cgi?id=2507465
- Exploit pubblicohttps://gitlab.gnome.org/GNOME/gimp/-/work_items/16494
- Exploit pubblicohttps://gitlab.gnome.org/GNOME/gimp/-/work_items/16494