Red Hat Enterprise Linux 9
Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- 3.3.1
Fixed in 2:3.0.4-4.el9_8.10
Fixed in 2:2.99.8-4.el9_2.7
Fixed in 2:2.99.8-4.el9_4.19
Fixed in 2:2.99.8-4.el9_6.20
Mitigation
Upgrade Red Hat Enterprise Linux 9 to 2:3.0.4-4.el9_8.10 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 2:2.99.8-4.el9_2.7 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 2:2.99.8-4.el9_4.19 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 2:2.99.8-4.el9_6.20 or later.
Workaround
To mitigate this vulnerability, users should avoid opening untrusted or suspicious PSD image files with GIMP. As a general security practice, it is recommended to only process image files from trusted sources.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:61587
- Vendor advisory access.redhat.com/errata/RHSA-2026:73768
- Vendor advisory access.redhat.com/errata/RHSA-2026:80509
1 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:93589
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.