Skip to main content
EPSS 0.2%top 86%

CVE-2026-66757: Integer Overflow or Wraparound in GNOME GIMP

0
Medium
VulnerabilityCVE-2026-66757cvecve-2026-66757gcvecwe-190
Published: 07/27/2026 (07/27/2026, 19:07:13 UTC)
Source: CVE Database V5
Vendor/Project: GNOME
Product: GIMP

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 v3.1

Score 5.5medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected software

GNOME

GIMP

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 16:46:51 UTC

Technical Analysis

The vulnerability exists in the file-sgi plugin of GIMP, which processes RLE-compressed SGI images. The plugin reads the ysize and zsize dimensions as 16-bit unsigned integers. When both are set to 65535, their multiplication overflows a 32-bit integer boundary before being passed to calloc for memory allocation. This integer overflow leads to undefined behavior, causing the plugin to abort and resulting in a denial of service. The flaw requires local user interaction to open a crafted SGI image file. No integrity or confidentiality impact is reported, only availability is affected. The vulnerability is rated medium severity with a CVSS 3.1 score of 5.5 (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H). No official fix or patch is currently confirmed. The vendor advisory from Red Hat recommends not opening SGI files from untrusted sources as mitigation.

Potential Impact

The vulnerability causes a denial of service by crashing the GIMP file-sgi plugin when processing a maliciously crafted RLE-compressed SGI image. There is no impact on confidentiality or integrity. The crash results from an integer overflow during memory allocation, leading to undefined behavior and plugin abort. Exploitation requires user interaction to open a crafted file, reducing likelihood. No known exploits in the wild have been reported.

Mitigation Recommendations

According to the Red Hat advisory, no official patch or fix is currently available. The recommended mitigation is to avoid opening SGI image files from untrusted or unverified sources with GIMP. Users should exercise caution and only process trusted SGI files until a fix is released. Monitor the vendor advisory for updates on patch availability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-07-27T17:24:27.249Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-66757","vendor":"Red Hat"}]

Threat ID: 6a67b0129c2644c7f8ad2d2d

Added to database: 07/27/2026, 19:22:58 UTC

Last enriched: 08/06/2026, 16:46:51 UTC

Last updated: 09/10/2026, 20:02:42 UTC

Views: 98

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses