{"id":"CVE-2026-112258","title":"Gimp: gimp: use-after-free in xcf loader via prop_linked and prop_selection on channels","summary":"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 p…","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:20.179Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112258","references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-112258"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2555588","label":"RHBZ#2555588"}],"tags":["cve.org"],"ingestedAt":"2026-10-19T21:43:56.109Z","slug":"CVE-2026-112258","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `gimp (all versions)`\n- `gimp`\n- `gimp`\n- `gimp:2.8/gimp`\n- `gimp (all versions)`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n### Workarounds\n\nAvoid opening untrusted XCF files in GIMP until an update is available. If GIMP is unused, remove the gimp package.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}