CVE-2026-66757
Received Received - Intake

Integer Overflow in GIMP File-SGI Plugin

Vulnerability report for CVE-2026-66757, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-27

Last updated on: 2026-07-27

Assigner: Red Hat, Inc.

Description

A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-27
Last Modified
2026-07-27
Generated
2026-07-28
AI Q&A
2026-07-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
gnome gimp *
gnome gimp From 65535 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in the file-sgi plugin of GIMP, which processes SGI image files. When handling RLE-compressed SGI images, the plugin reads image dimensions as 16-bit unsigned integers. If both dimensions are set to their maximum value (65535), multiplying them causes a signed integer overflow before memory allocation. This leads to undefined behavior, crashing the plugin and causing a denial of service.

Detection Guidance

Detecting this vulnerability requires checking for GIMP installations and testing the file-sgi plugin with crafted SGI files. Monitor GIMP processes for crashes when handling SGI images. Use file integrity checks to detect unexpected modifications to GIMP binaries.

Impact Analysis

If you open a specially crafted SGI image file in GIMP, the file-sgi plugin may crash due to the integer overflow. This results in a denial of service, preventing you from using the plugin until GIMP is restarted or the malicious file is avoided.

Compliance Impact

This vulnerability causes a denial of service by crashing the GIMP file-sgi plugin, which may lead to application unavailability. For compliance with standards like GDPR or HIPAA, availability of systems processing personal or health data is critical. A denial of service could disrupt access to such data, potentially violating availability requirements in these regulations.

Mitigation Strategies

Disable the file-sgi plugin in GIMP if not needed. Update GIMP to the latest version once a patch is available. Avoid opening untrusted SGI image files. Implement network monitoring to block malicious SGI files.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-66757. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart