---
id: "CVE-2026-112258"
kind: "vulnerability"
aliases: ["CVE-2026-112258"]
title: "GIMP: crafted XCF file triggers use-after-free during image load"
severity: "high"
cvss: 7.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["desktop", "gimp", "image-editing", "package"]
not_affected_if: ["no-xcf-files-opened"]
published_at: "2026-10-19T22:17:05+00:00"
first_seen_at: "2026-10-23T21:57:19+00:00"
updated_at: "2026-10-25T03:10:12+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112258", "first_seen_at": "2026-10-23T21:57:19+00:00"}]
---

# GIMP: crafted XCF file triggers use-after-free during image load

GIMP's XCF loader can leave a dangling pointer in its linked-channels list, which is freed later through 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.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Run `gimp --version` to see the installed GIMP version.
- unknown

## Fix

- unknown

## Timeline

- 2026-10-23T21:57:19+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-112258

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
