Red Hat Enterprise Linux 9
Gimp: gimp: stack buffer overflow in psd image resource header loader
A flaw was found in GIMP. The PSD plug-in’s image resource header loader uses an incorrect destination size when copying a converted resource name into a fixed stack buffer. Opening a crafted PSD file can cause a stack-based buffer overflow, leading to a crash and potentially arbitrary code execution.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 2:3.0.4-8.el9_9.6
Fixed in 2:3.0.4-4.el9_8.16
Mitigation
Upgrade Red Hat Enterprise Linux 9 to 2:3.0.4-8.el9_9.6 or later.
Upgrade Red Hat Enterprise Linux 9.8 Extended Update Support to 2:3.0.4-4.el9_8.16 or later.
Workaround
Do not open untrusted PSD files in GIMP. Avoid browsing directories containing untrusted PSD files in GIMP’s file dialog if thumbnail/preview loading may parse PSD resources. If GIMP is not required, remove the gimp package.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:98532
- Vendor advisory access.redhat.com/errata/RHSA-2026:99154
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.