CVE-2026-58384 PUBLISHED

Gimp: gimp: integer overflow in read_rle_channel()

Assigner: redhat
Reserved: 30.06.2026 Published: 07.07.2026 Updated: 07.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS Score: 7.3

Product Status

Vendor Red Hat
Product Red Hat Enterprise Linux 6
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Enterprise Linux 7
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Enterprise Linux 8
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Enterprise Linux 9
Versions Default: affected

Workarounds

None — requires opening a crafted PSD file.

Credits

  • Red Hat would like to thank bb1abu for reporting this issue.

References

Problem Types

  • Integer Overflow or Wraparound CWE