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.
Published: 2026-10-07
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Out-of-bounds read causing process crash or memory corruption
Action: Use trusted sources
AI Analysis

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.

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

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 yet.

History

Sun, 25 Oct 2026 17:15:00 +0000

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

Fri, 09 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 08 Oct 2026 08:00:00 +0000

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.

Wed, 07 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 07 Oct 2026 02:45:00 +0000

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'}


Subscriptions

Gimp Gimp
Red Hat Enterprise Linux
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-09T02:04:17.673Z

Reserved: 2026-10-06T14:26:51.255Z

Link: CVE-2026-106061

cve-icon Vulnrichment

Updated: 2026-10-09T02:04:13.903Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-07T03:16:57.473

Modified: 2026-10-09T02:16:57.180

Link: CVE-2026-106061

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-106061 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-25T15:45:06Z

Weaknesses