Red Hat Enterprise Linux 9
Gimp: gimp: use-after-free in xcf loader via prop_linked and prop_selection on channels
A flaw was found in GIMP. The XCF loader can leave a dangling pointer in the linked-channels list when a linked channel is later destroyed via a selection property. Opening a crafted XCF file can cause a use-after-free in the main GIMP process, 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-4.el9_8.15
Fixed in 2:3.0.4-8.el9_9.5
Mitigation
Upgrade Red Hat Enterprise Linux 9 to 2:3.0.4-4.el9_8.15 or later.
Upgrade Red Hat Enterprise Linux 9 to 2:3.0.4-8.el9_9.5 or later.
Workaround
Avoid opening untrusted XCF files in GIMP until an update is available. If GIMP is unused, remove the gimp package.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:93975
- Vendor advisory access.redhat.com/errata/RHSA-2026:98495
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.