CVE-2026-112258 Gimp: gimp: use-after-free in xcf loader via prop_linked and prop_selection on channels

High 7.8 Published Updated

A use-after-free in GIMP's XCF loader allows attackers to execute arbitrary code or cause a crash by tricking users into opening a malicious file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-112258?

CVE-2026-112258 is a high-severity use after free vulnerability in Red Hat Enterprise Linux 10, published on 19 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-416

Which versions are affected by CVE-2026-112258?

How do I fix CVE-2026-112258?

No fix has been published for CVE-2026-112258 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-112258 being exploited?

There is no known exploitation of CVE-2026-112258 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-112258, GHSA-qq8p-jmjc-fwxx, UBUNTU-CVE-2026-112258.

Is CVE-2026-112258 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free