Bug 2558369 - CVE-2026-112258 gimp: gimp: use-after-free in XCF loader via PROP_LINKED and PROP_SELECTION on channels [fedora-43]
Summary: CVE-2026-112258 gimp: gimp: use-after-free in XCF loader via PROP_LINKED and ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gimp
Version: 43
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["f5384f10-3c02-4acb-a998-9...
Depends On:
Blocks: CVE-2026-112258
TreeView+ depends on / blocked
 
Reported: 2026-10-21 16:31 UTC by Srikanth Balasubramanian
Modified: 2026-10-21 16:31 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-10-21 16:31:13 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.


Note You need to log in before you can comment on or make changes to this bug.