CVE-2026-59090: Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow

Published Jul 2, 2026
·
Updated

A flaw was found in GIMP's PSD file format plugin. This vulnerability, an unsigned integer underflow in the blockrem 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.

Other sources

A source-level audit of GIMP's file format plugins identified 2 vulnerabilities in default-install plugins (file-psd, file-paa). Both are triggerable by opening a crafted image file — no user interaction beyond "File > Open" is required. Each finding has been independently reproduced with a standalone PoC and confirmed via AddressSanitizer or arithmetic verification in a Docker environment (Fedora 41, gcc, zlib-devel).

https://gitlab.gnome.org/GNOME/gimp/-/workitems/16509

Red Hat

Affected Software

1 affected component
GIMP

Event History

Jul 2, 2026
Data Sourced
via Red Hat·03:42 PM
DescriptionSeverityAffected Software
Aug 10, 2026
CVE Published
via MITRE·12:10 PM
Data Sourced
via MITRE·12:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:19 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-59090?

CVE-2026-59090 has a severity rating of 8.4, which is considered high.

2

How does CVE-2026-59090 affect GIMP users?

CVE-2026-59090 allows attackers to execute arbitrary code on GIMP users' systems by exploiting a vulnerability in the PSD file format plugin.

3

How do I fix CVE-2026-59090?

To fix CVE-2026-59090, update GIMP to the latest version that includes the security patch addressing this vulnerability.

4

What causes CVE-2026-59090?

CVE-2026-59090 is caused by an unsigned integer underflow in the `block_rem` variable when processing specially crafted PSD image files.

5

What type of vulnerability is CVE-2026-59090 classified as?

CVE-2026-59090 is classified as an integer underflow vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203