Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-106061 EUVD-2026-94160GHSA-p76v-2jpq-7gvc

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

Published Oct 7, 2026 · Updated Nov 5, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gimp 3.2.8-1 —
Debian 13 gimp No fix yet —
Debian 12 gimp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gimp No fix yet —
Ubuntu 26.04 LTS gimp No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gimp No fix yet —
Ubuntu Pro 22.04 LTS gimp No fix yet —
Ubuntu Pro 20.04 LTS gimp No fix yet —
Ubuntu Pro 18.04 LTS gimp No fix yet —
Ubuntu Pro 16.04 LTS gimp No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 gimp 2.10.30-150400.3.85.1 SUSE-SU-2026:4895-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 gimp 3.0.8-bp160.13.1 openSUSE-SU-2026:22123-1

Advisories 3

References