Descrizione
A flaw was found in the file-pcx plugin in GIMP, affecting 32-bit builds only. When processing a PCX image file, the plugin calculates memory allocation sizes based on the image dimensions and the number of color planes. If a crafted file sets the number of planes to 4 alongside sufficiently large dimensions, the calculation exceeds the 32-bit integer limit and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when the plugin subsequently writes image data into the undersized buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.0.
Versioni da aggiornare
- Gimp Gimp: vulnerabili le versioni dalla
3.0.0fino alla3.2.4inclusa → aggiornare a una release successiva alla3.2.4. - Gimp Gimp: vulnerabile la versione
3.3.1→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Advisory del vendor: access.redhat.com/security/cve/CVE-2026-78465
- 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.0.0 ≤ 3.2.4 | — |
| Gimp | Gimp | 3.3.1 | — |
Riferimenti
- Advisory del vendorhttps://access.redhat.com/security/cve/CVE-2026-78465
- Advisory del vendorhttps://bugzilla.redhat.com/show_bug.cgi?id=2522057
- Exploit pubblicohttps://gitlab.gnome.org/GNOME/gimp/-/work_items/16578
- Exploit pubblicohttps://gitlab.gnome.org/GNOME/gimp/-/work_items/16578