Red Hat Enterprise Linux
Gimp: gimp: heap buffer overflow in read_channel_data()
A flaw was found in GIMP's Paint Shop Pro (PSP) file format parser. This heap buffer overflow vulnerability allows a remote attacker to cause arbitrary code execution or a denial of service (DoS) by tricking a user into opening a specially crafted PSP image file. The vulnerability occurs because the software incorrectly calculates buffer sizes when processing low bit-depth images, leading to an overwrite of adjacent memory.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 2:3.0.4-4.el9_8.5
Fixed in 2:2.99.8-4.el9_2.7
Fixed in 2:2.99.8-4.el9_4.19
Fixed in 2:2.99.8-4.el9_6.20
Mitigation
Upgrade Red Hat Enterprise Linux 9 to 2:3.0.4-4.el9_8.5 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 2:2.99.8-4.el9_2.7 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 2:2.99.8-4.el9_4.19 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 2:2.99.8-4.el9_6.20 or later.
Workaround
To mitigate this vulnerability, users should avoid opening untrusted Paint Shop Pro (PSP) image files with GIMP. As a general security practice, it is recommended to only process image files from trusted sources. If GIMP is not essential, consider removing the package to eliminate the attack surface.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:38496
- Vendor advisory access.redhat.com/errata/RHSA-2026:73768
- Vendor advisory access.redhat.com/errata/RHSA-2026:80509
2 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:93589
- Patch gitlab.gnome.org/GNOME/gimp/-/commit/b630f167
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.