Description
A flaw was found in GIMP's PSD parser. An integer overflow in read_RLE_channel() can cause an undersized heap allocation for the RLE row-length table, after which subsequent per-row writes corrupt heap memory. This could lead to memory corruption, potentially resulting in denial of service or arbitrary code execution.
Problem types
Integer Overflow or Wraparound
Product status
Timeline
| 2026-04-11: | Reported to Red Hat. |
| 2026-04-11: | Made public. |
Credits
Red Hat would like to thank bb1abu for reporting this issue.
References
access.redhat.com/security/cve/CVE-2026-58384
bugzilla.redhat.com/show_bug.cgi?id=2497431 (RHBZ#2497431)
gitlab.gnome.org/GNOME/gimp/-/commit/da29e217
gitlab.gnome.org/GNOME/gimp/-/issues/16216