CVE-2026-112261 — Red Hat
HIGHCVE-2026-112261 is a high-severity (CVSS 7.8) Use After Free vulnerability. No vendor fix is recorded yet; mitigation options are listed below.
A flaw was found in GIMP. Opening a crafted XCF that selects a path and then fails to load that path can cause a use-after-free in the main process, leading to a crash and potentially…
Description
A flaw was found in GIMP. Opening a crafted XCF that selects a path and then fails to load that path can cause a use-after-free in the main process, leading to a crash and potentially arbitrary code execution.
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Remediation status
No fixed release is recorded for CVE-2026-112261 yet. Track the upstream advisory, and apply the exposure-reduction steps below in the meantime.
Mitigate without a patch
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This Important flaw applies to the XCF vectors / selected-path model introduced around 2.99.14 (2022-10).
Avoid opening untrusted XCF files in GIMP. If GIMP is unused, remove the gimp package.Source: Red Hat security advisory for CVE-2026-112261 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-112261 in your dependencies?
Find it across , including transitive dependencies.