CVE-2026-106061: Gimp: gimp: heap buffer over-read in x cursor (xmc) thumbnail loader on crafted file

Published Oct 6, 2026
·
Updated

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 (CWE-125), after integer overflow in the size calculation (CWE-190). This can crash GIMP or corrupt process memory.

Other sources

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.

— NVD

Reporter: Jim Alves-Foss 1. Upstream: https://gitlab.gnome.org/GNOME/gimp/-/workitems/16801 (Finding 1). plug-ins/common/file-xmc.c, loadthumbnail() (~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).

— Red Hat

Affected Software

1 affected component
Gnome GIMP=3.2.6

Event History

Oct 6, 2026
Data Sourced
via Red Hat·03:46 PM
DescriptionSeverityAffected Software
Oct 7, 2026
CVE Published
via MITRE·02:36 AM
Data Sourced
via MITRE·02:36 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of GIMP who open or preview X cursor (XMC) files are exposed. The issue was verified on GIMP 3.2.6, and the vulnerable code is reached through thumbnail generation.

2

What does an attacker need to exploit it?

An attacker needs to persuade a user to open or preview a crafted XMC file in GIMP. The CVSS vector indicates local attack access, no privileges required, and user interaction required.

3

What is the practical impact?

A crafted file can trigger an out-of-bounds heap read during thumbnail loading, which can crash GIMP or corrupt memory in the GIMP process. The reported CVSS impact is limited to availability.

4

What can be done if a fix is not yet available?

Avoid opening or previewing untrusted XMC files in GIMP, particularly where thumbnail generation may occur. The report states the issue was unpatched at the time of reporting.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203