---
id: CVE-2026-112261
title: 'Gimp: gimp: use-after-free in xcf loader via prop_selected_path'
summary: >-
  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.
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-416
vendor: Red Hat
product: gimp
affected:
  - gimp (all versions)
  - gimp
  - gimp
  - 'gimp:2.8/gimp'
  - gimp (all versions)
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T21:37:25.644Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112261'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-112261'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2555748'
    label: RHBZ#2555748
tags:
  - cve.org
ingestedAt: '2026-10-19T21:43:56.111Z'
---

## Overview

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.

## Affected

- `gimp (all versions)`
- `gimp`
- `gimp`
- `gimp:2.8/gimp`
- `gimp (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

Avoid opening untrusted XCF files in GIMP. If GIMP is unused, remove the gimp package.
