Bug 2539980 (CVE-2026-97185) - CVE-2026-97185 gimp: gimp: out-of-bounds write in GIMPressionist plugin via crafted preset file
Summary: CVE-2026-97185 gimp: gimp: out-of-bounds write in GIMPressionist plugin via c...
Keywords:
Status: NEW
Alias: CVE-2026-97185
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2539981
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-24 08:09 UTC by OSIDB Bzimport
Modified: 2026-09-24 08:16 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-24 08:09:45 UTC
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 set_orient_vector() and set_size_vector() and uses it to write into pcvals.orient_vectors[] and pcvals.size_vectors[] 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.


Note You need to log in before you can comment on or make changes to this bug.