CVE-2026-106061

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

Published Oct 7, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

GIMP’s X cursor (XMC) thumbnail loader allocates a pixel buffer based on a 32‑bit signed multiplication of width and height. When processing a maliciously crafted XMC file, the product can overflow, causing the actual allocation to be smaller than the image’s real dimensions. A later GEGL buffer read then uses the larger, unwrapped dimensions, which results in an out‑of‑bounds read on the heap. The flaw can lead to a GIMP crash or corruption of process memory.

Affected Systems

The vulnerability is present in GIMP running on Red Hat Enterprise Linux 6 through 10. No specific product or version of GIMP is listed, but the risk applies to any installation of GIMP on these operating systems that processes X cursor files.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score of < 1%, which is below 1%, indicates a very low but non‑zero probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is inferred from the description; it requires a user to open or preview a crafted XMC file, so remote exploitation is unlikely. If the flaw is triggered, it can simply cause a crash or memory corruption and does not grant arbitrary code execution or privilege escalation. The overall risk is moderate, emphasizing the importance of not processing untrusted files.

Remediation

Vendor Workaround

To mitigate only open X cursor and other image files from trusted sources; do not preview untrusted files in GIMP.


OpenCVE Recommended Actions

  • Verify and install any available GIMP update that addresses the X cursor thumbnail loader bug.
  • Configure GIMP to disable or limit thumbnail generation for X cursor files, or set it to never preview untrusted images.
  • Only open X cursor files from trusted or verified sources; avoid previewing unknown or malicious files.

Generated by OpenCVE AI on October 8, 2026 at 09:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Gimp
Gimp gimp
Red Hat
Red Hat enterprise Linux
Vendors & Products Gimp
Gimp gimp
Red Hat
Red Hat enterprise Linux
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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 (CWE-125), after integer overflow in the size calculation (CWE-190). This can crash GIMP or corrupt process memory. 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.
Type Values Removed Values Added
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 (CWE-125), after integer overflow in the size calculation (CWE-190). This can crash GIMP or corrupt process memory.
Title Gimp: gimp: heap buffer over-read in x cursor (xmc) thumbnail loader on crafted file
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-125
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 3:53 PM
Reserved
Oct 6, 2026, 2:26 PM
Status
Awaiting Analysis
Published
Oct 7, 2026, 3:16 AM
Modified
Nov 5, 2026, 4:17 PM
Severity
Moderate
Public date
Oct 6, 2026, 12:00 AM