CVE-2026-106061
gimp: GIMP: heap buffer over-read in X cursor (XMC) thumbnail loader on crafted file
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 6, 2026
Updated · October 8, 2026
Description
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.
Statement
An out-of-bounds read flaw was found in GIMP in the XMC thumbnail loading code. A local attacker could provide a specially crafted X cursor file that, when opened or previewed by the victim, triggers a heap-based buffer over-read. This may result in denial of service or limited disclosure of heap memory. The attacker must convince the user to open or preview the malicious file.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate only open X cursor and other image files from trusted sources; do not preview untrusted files in GIMP.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CWE-125 · Out-of-bounds Read