CVE-2026-59090
gimp: GIMP: Arbitrary code execution in PSD plugin due to unsigned underflow
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), AlmaLinux (high), Oracle (high), Ubuntu (medium).
Description
A flaw was found in GIMP's PSD file format plugin. This vulnerability, an unsigned integer underflow in the `block_rem` variable, occurs when a user opens a specially crafted `.psd` image file. The underflow leads to parser confusion, enabling an attacker to inject arbitrary data as layer resource blocks. This can ultimately result in arbitrary code execution, allowing the attacker to run malicious code on the victim's system.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alma 9 | gimp, gimp-libs | 2:3.0.4-4.el9_8.10 |
| debian 11 | gimp | no fix listed |
| debian 12 | gimp | no fix listed |
| debian 13 | gimp | 3.0.4-3+deb13u10 |
| debian 14 | gimp | 3.2.6-1 |
| echo | gimp | 3.0.4-3+deb13u10 |
| Oracle Linux 9 | gimp, gimp-libs | 2:3.0.4-4.el9_8.10 |
| rapidfort alma 8 | gimp, gimp-libs | no fix listed |
| rapidfort alma 9 | gimp, gimp-libs | 2:3.0.4-4.el9_8.10 |
| rapidfort debian 12 | gimp | 0:3.0.4-3+deb13u10, 0:3.2.6-1 |
| rapidfort debian 13 | gimp | 0:3.0.4-3+deb13u10, 0:3.2.6-1 |
| rapidfort Oracle Linux 9 | gimp, gimp-libs | 2:3.0.4-4.el9_8.10 |
Show all 34 entries from 14 sources
| Source | Package | Fixed in |
|---|---|---|
| alma 9 | gimp | 2:3.0.4-4.el9_8.10 |
| alma 9 | gimp-libs | 2:3.0.4-4.el9_8.10 |
| debian 11 | gimp | no fix listed |
| debian 12 | gimp | no fix listed |
| debian 13 | gimp | 3.0.4-3+deb13u10 |
| debian 14 | gimp | 3.2.6-1 |
| echo | gimp | 3.0.4-3+deb13u10 |
| Oracle Linux 9 | gimp | 2:3.0.4-4.el9_8.10 |
| Oracle Linux 9 | gimp-libs | 2:3.0.4-4.el9_8.10 |
| rapidfort alma 8 | gimp | no fix listed |
| rapidfort alma 8 | gimp-libs | no fix listed |
| rapidfort alma 9 | gimp | 2:3.0.4-4.el9_8.10 |
| rapidfort alma 9 | gimp-libs | 2:3.0.4-4.el9_8.10 |
| rapidfort debian 12 | gimp | 0:3.0.4-3+deb13u10, 0:3.2.6-1 |
| rapidfort debian 13 | gimp | 0:3.0.4-3+deb13u10, 0:3.2.6-1 |
| rapidfort Oracle Linux 9 | gimp | 2:3.0.4-4.el9_8.10 |
| rapidfort Oracle Linux 9 | gimp-libs | 2:3.0.4-4.el9_8.10 |
| Red Hat | gimp | no fix listed |
| Red Hat | gimp-devel | no fix listed |
| Red Hat | gimp-devel-tools | no fix listed |
| Red Hat | gimp-help-browser | no fix listed |
| Red Hat | gimp-libs | no fix listed |
| Red Hat | pygobject2 | no fix listed |
| Red Hat | pygobject2-codegen | no fix listed |
| Red Hat | pygobject2-devel | no fix listed |
| Red Hat | pygobject2-doc | no fix listed |
| Red Hat | pygtk2 | no fix listed |
| Red Hat | pygtk2-codegen | no fix listed |
| Red Hat | pygtk2-devel | no fix listed |
| Red Hat | pygtk2-doc | no fix listed |
| Red Hat | python2-cairo | no fix listed |
| Red Hat | python2-cairo-devel | no fix listed |
| Red Hat | python2-pycairo | no fix listed |
| ubuntu 18.04-ESM | gimp | no fix listed |
References
- https://access.redhat.com/errata/RHSA-2026:61587
- https://access.redhat.com/errata/RHSA-2026:73768
- https://access.redhat.com/errata/RHSA-2026:80509
- https://access.redhat.com/security/cve/CVE-2026-59090
- https://bugzilla.redhat.com/2496584
- https://bugzilla.redhat.com/2520560
- https://bugzilla.redhat.com/2520561
- https://bugzilla.redhat.com/2520576
All 20 references
- https://bugzilla.redhat.com/2520579
- https://bugzilla.redhat.com/2520582
- https://bugzilla.redhat.com/2520583
- https://bugzilla.redhat.com/2520591
- https://bugzilla.redhat.com/2520594
- https://bugzilla.redhat.com/show_bug.cgi?id=2496584
- https://errata.almalinux.org/9/ALSA-2026-61587.html
- https://gitlab.gnome.org/GNOME/gimp/-/work_items/16509
- https://linux.oracle.com/cve/CVE-2026-59090.html
- https://linux.oracle.com/errata/ELSA-2026-61587-0.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-59090
- https://www.cve.org/CVERecord?id=CVE-2026-59090