REDHAT-BUG-2539980: High severity GIMP GIMP vulnerability

Published Sep 24, 2026
·
Updated

A flaw was found in GIMP's GIMPressionist plug-in. When loading a preset file, presets.c parses an attacker-controlled index with atoi() in setorientvector() and setsizevector() and uses it to write into pcvals.orientvectors[] and pcvals.sizevectors[] without checking that the index is within the fixed array bounds (MAXORIENTVECT and MAXSIZEVECT, 50 entries each). A crafted preset with an out-of-range or negative index causes writes past those arrays, corrupting memory. This issue can be triggered by convincing a user to load a specially crafted GIMPressionist preset, potentially leading to a crash or arbitrary code execution in the context of the user running GIMP. This is distinct from CVE-2026-90947, which addressed a similar missing bound check in the Lighting Effects plug-in. The issue is present in GIMP 3.2.6; a bounds check was added on the main branch.

Affected Software

1 affected component
GIMP GIMP=3.2.6

Event History

Sep 24, 2026
Data Sourced
via Red Hat·08:09 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What must an attacker do to exploit this flaw?

The attacker must convince a user to load a specially crafted GIMPressionist preset file. The malformed preset supplies an out-of-range or negative index that is used without bounds checking.

2

Who is exposed to impact from a malicious preset?

Users running an affected GIMP installation who load an attacker-controlled GIMPressionist preset are exposed. Successful exploitation occurs in the security context of the user running GIMP and may cause a crash or arbitrary code execution.

3

Which preset fields are involved?

The issue affects indexes processed by set_orient_vector() and set_size_vector(). These indexes can write outside the 50-entry pcvals.orient_vectors[] and pcvals.size_vectors[] arrays.

4

Is a fix available?

A bounds check has been added on the main branch. The issue is reported as present in GIMP 3.2.6.

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