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.
Published: 2026-10-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Workaround

Avoid opening untrusted XCF files in GIMP. If GIMP is unused, remove the gimp package. --- CME Mitigation Guidance (2026-10-20) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to prevent dangling pointer dereference by removing raw path pointers from the selected-paths list when XCF path parsing fails: upgrade to the fixed Gimp builds, which clears or removes the raw pointer from the selected-paths list upon parsing failure so that gimp_image_set_selected_paths does not dereference freed path objects, closing crafted XCF image file. Until patched, this is a concern on Linux systems running GIMP, so Avoid opening untrusted XCF files in GIMP, or remove the gimp package entirely on systems where image editing is not required. As a compensating measure, Enable ASLR to impede reliable reuse of code and heap addresses during dangling pointer exploitation, Enforce the NX/XD bit to prevent execution of shellcode in reclaimed heap memory, Apply full RELRO and PIE to prevent Global Offset Table overwrites and enforce address randomization, Deploy Control Flow Integrity to restrict indirect function calls if the dangling pointer redirects control flow, Enable glibc heap allocator hardening to detect and obstruct heap manipulation during path object reclaim, and Maintain SELinux in enforcing mode to restrict file and system access available to the GIMP process. These controls limit blast radius and contain exploitation, but they do not fix the underlying use-after-free defect — apply the upstream patch to fully remediate. Highest-impact CME: CME-301 SELinux (Enforcing Mode) (medium)

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Mon, 19 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title Gimp: gimp: use-after-free in xcf loader via prop_selected_path
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-416
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-20T20:58:54.259Z

Reserved: 2026-10-19T13:15:03.694Z

Link: CVE-2026-112261

cve-icon Vulnrichment

Updated: 2026-10-20T15:16:20.294Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-19T22:17:05.767

Modified: 2026-10-20T17:17:30.487

Link: CVE-2026-112261

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-12T00:00:00Z

Links: CVE-2026-112261 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T06:30:10Z

Weaknesses