CVE-2026-59090
Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| gimp | affected: 3.3.1 | See vendor advisory |
| gimpRed Hat | unaffected: 2:3.0.4-4.el9_8.10 to < * | See vendor advisory |
| gimpRed Hat | unaffected: 2:2.99.8-4.el9_2.7 to < * | See vendor advisory |
| gimpRed Hat | unaffected: 2:2.99.8-4.el9_4.19 to < * | See vendor advisory |
| gimpRed Hat | unaffected: 2:2.99.8-4.el9_6.20 to < * | See vendor advisory |
| gimpRed Hat | Default status: unknown | See vendor advisory |
| gimpRed Hat | Default status: affected | See vendor advisory |
| gimpRed Hat | Default status: affected | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-59090
- 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/errata/RHSA-2026:93589
- https://access.redhat.com/security/cve/CVE-2026-59090
- https://bugzilla.redhat.com/show_bug.cgi?id=2496584
- https://gitlab.gnome.org/GNOME/gimp/-/work_items/16509