Bug 2546640 (CVE-2026-106061)

Summary: CVE-2026-106061 gimp: GIMP: heap buffer over-read in X cursor (XMC) thumbnail loader on crafted file
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in GIMP’s X cursor (XMC) thumbnail loader. When GIMP generates a thumbnail for a crafted XMC file, it allocates a pixel buffer using a width * height size computed in 32-bit signed arithmetic. If that product overflows, the allocation is smaller than the true image extent. A subsequent GEGL buffer read uses the unwrapped dimensions and performs an out-of-bounds read on the heap, after integer overflow in the size calculation. This can crash GIMP or corrupt process memory.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2546653    
Bug Blocks:    

Description OSIDB Bzimport 2026-10-06 15:46:38 UTC
Reporter: Jim Alves-Foss 1. Upstream: https://gitlab.gnome.org/GNOME/gimp/-/work_items/16801 (Finding 1). plug-ins/common/file-xmc.c, load_thumbnail() (~1032–1046): pixel buffer sized with 32-bit width * height can wrap; GEGL then reads past the allocation. ASan-confirmed heap-buffer-overflow read. Vector: open/preview crafted X cursor (XMC) file (thumbnail path). Verified on GIMP 3.2.6; unpatched at report. CVSS 3.1 tentative: AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (5.5).