Bug 2558370

Summary: CVE-2026-112258 gimp: gimp: use-after-free in XCF loader via PROP_LINKED and PROP_SELECTION on channels [fedora-44]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: gimpAssignee: Nils Philippsen <nils>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 44CC: jridky, nils, phracek, zdohnal
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["f5384f10-3c02-4acb-a998-9a08d4c07aa1"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2555588    

Description Srikanth Balasubramanian 2026-10-21 16:31:22 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in the GIMP XCF loader. Marking a channel as linked (PROP_LINKED) stores a raw pointer in linked_channels. A later PROP_SELECTION on the same channel can destroy the object without removing that pointer. At end of load, gimp_item_list_named_new() dereferences the dangling pointer. The CVE-2025-14424 NULL guard does not stop a non-NULL dangling pointer, so this is an incomplete-fix bypass requiring a separate CVE. Reporters demonstrated reclaim of the freed block with attacker-controlled bytes.