CVE-2026-112258

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

Published Oct 19, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

GIMP’s XCF loader contains a use‑after‑free bug caused by a dangling pointer in the linked‑channels list. When a linked channel is destroyed via a selection property, the loader may later access freed memory. Opening a specially crafted XCF file can trigger a crash, and because the process may execute code from the freed area, the flaw can lead to arbitrary code execution. The weakness is a classic use‑after‑free, classified as CWE‑416.

Affected Systems

The vulnerability is present in the GIMP package distributed with Red Hat Enterprise Linux 10 through 9. These distributions include the vulnerable GIMP binary, and any installation that uses the default XCF loader without a patch is susceptible. No specific product versions are listed, so any release of GIMP shipped with these OS families is at risk.

Risk and Exploitability

The CVSS base score of 7.8 reflects a non‑trivial impact. EPSS is not available, and the flaw is not listed in the CISA KEV catalog, suggesting no publicly known exploitation yet. An attacker would need to supply a crafted XCF file and get the victim to open it. The attack vector is likely local or remote via file download, and the exploitation would produce a crash and potentially allow the attacker to run arbitrary code within the context of the GIMP process. The recommended workaround is to avoid opening untrusted XCF files until a vendor update is released.

Remediation

Vendor Workaround

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


OpenCVE Recommended Actions

  • Avoid opening untrusted XCF files in GIMP until an update is available
  • If GIMP is unused, remove the gimp package
  • Apply vendor patch to GIMP when it becomes available

Generated by OpenCVE AI on October 20, 2026 at 06:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
Type Values Removed Values Added
First Time appeared Redhat rhel Els
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:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::appstream
References
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Vendors & Products Gimp
Gimp gimp
Type Values Removed Values Added
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.
Title Gimp: gimp: use-after-free in xcf loader via prop_linked and prop_selection on channels
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 5:31 PM
Reserved
Oct 19, 2026, 1:14 PM
Status
Awaiting Analysis
Published
Oct 19, 2026, 10:17 PM
Modified
Nov 25, 2026, 6:18 PM
Severity
Important
Public date
Oct 14, 2026, 12:00 AM