7.8

CVE-2026-66758: Gimp: integer overflow in file-fits plugin causes a heap-based buffer overflow on crafted fits images

Modified
AliasesUBUNTU-CVE-2026-66758DEBIAN-CVE-2026-66758
Published 27-07-2026Last modified 04-11-2026

Vulnerability summary

CVE-2026-66758 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in gimp. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 24.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.30%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 9 · Related 2

Timeline

  1. 27-07-2026
    PublishedVulnerability first disclosed.
  2. 04-11-2026
    Last modifiedVulnerability information updated.

Description

A flaw was found in the file-fits plugin in GIMP. When processing a FITS image file, the plugin calculates memory allocation sizes using signed 32-bit integers for width and height. If a crafted file sets both values to large values, their product exceeds 2^31 and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when cfitsio subsequently writes a full row of pixels in the buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.30%

Chance of exploitation in the next 30 days

Percentile

25%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.30% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (gitlab.gnome.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • gimpAll versions (No fix recorded) | < 3.0.4-3+deb13u10 | < 3.2.6-1
Gimp1 product
Redhat1 product
Ubuntu1 product
  • gimpAll versions (No fix recorded)

4 vendors · 4 products

References

11 links
Show all 11 references