---
title: "CVE-2026-66757"
canonical_url: "https://pkgseek.com/security/CVE-2026-66757"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-66757

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.

CVE-2026-66757 is rated MEDIUM (5.5), with 7 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 7
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | gimp | 3.0.4-3+deb13u11 | — |
| Debian | trixie | gimp-data | 3.0.4-3+deb13u11 | — |
| Debian | trixie | gir1.2-gimp-3.0 | 3.0.4-3+deb13u11 | — |
| Debian | trixie | libgimp-3.0-0 | 3.0.4-3+deb13u11 | — |
| Debian | trixie | libgimp-3.0-bin | 3.0.4-3+deb13u11 | — |
| Debian | trixie | libgimp-3.0-dev | 3.0.4-3+deb13u11 | — |
| Debian | trixie | libgimp-3.0-doc | 3.0.4-3+deb13u11 | — |
