Bug 2497431 (CVE-2026-58384) - CVE-2026-58384 gimp: gimp: Integer overflow in read_RLE_channel()
Summary: CVE-2026-58384 gimp: gimp: Integer overflow in read_RLE_channel()
Keywords:
Status: NEW
Alias: CVE-2026-58384
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:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-06 18:55 UTC by OSIDB Bzimport
Modified: 2026-07-16 07:50 UTC (History)
2 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:40751 0 None None None 2026-07-16 07:50:51 UTC

Description OSIDB Bzimport 2026-07-06 18:55:05 UTC
Integer overflow in GIMP's PSD parser. In read_RLE_channel() in psd-load.c, the allocation for rle_pack_len uses g_malloc (lyr_chn->rows * 4) with unchecked arithmetic. A crafted PSD can overflow the allocation size calculation and desynchronize it from the subsequent per-row writes, causing heap memory corruption.

- Function: read_RLE_channel()
- File: plug-ins/file-psd/psd-load.c:1843-1865
- Fix: https://gitlab.gnome.org/GNOME/gimp/-/commit/da29e217
- Upstream issue: https://gitlab.gnome.org/GNOME/gimp/-/issues/16216
- Acknowledgment: bb1abu

Comment 1 errata-xmlrpc 2026-07-16 07:50:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:40751 https://access.redhat.com/errata/RHSA-2026:40751


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