Skip to main content
EPSS 0.3%top 79%

A flaw was found in the file-fits plugin in GIMP. (CVE-2026-66758)

0
Medium
Published: 07/27/2026 (07/27/2026, 19:17:00 UTC)
Source: GCVE Database
Product: gimp

Description

CVE-2026-66758 is a high-severity integer overflow vulnerability in the file-fits plugin of GIMP. The flaw occurs when processing crafted FITS image files with large width and height values, causing a signed 32-bit integer overflow during memory allocation size calculation. This leads to a heap-based buffer overflow when pixel data is written, potentially causing memory corruption and enabling arbitrary code execution or denial of service. Red Hat has released security updates for GIMP in Red Hat Enterprise Linux 8 and 9 to address this issue.

CVSS v3.1

Score 7.8high

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

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/xenial
Affected versions
=2.8.14-1ubuntu2=2.8.14-1.2ubuntu1=2.8.16-1ubuntu1=2.8.16-1ubuntu1.1=2.8.16-1ubuntu1.1+esm1=2.8.16-1ubuntu1.1+esm2=2.8.16-1ubuntu1.1+esm3
Ubuntu:Pro:18.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/bionic
Affected versions
=2.8.20-1=2.8.20-1.1=2.8.20-2=2.8.22-1=2.8.22-1ubuntu0.1~esm1=2.8.22-1ubuntu0.1~esm2=2.8.22-1ubuntu0.1~esm3
Ubuntu:Pro:20.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/focal
Affected versions
=2.10.8-2=2.10.14-2=2.10.14-2build1=2.10.14-2ubuntu1=2.10.14-3=2.10.18-1=2.10.18-1ubuntu0.1=2.10.18-1ubuntu0.1+esm1=2.10.18-1ubuntu0.1+esm2=2.10.18-1ubuntu0.1+esm3
Ubuntu:Pro:22.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/jammy
Affected versions
=2.10.24-2=2.10.28-1=2.10.30-1=2.10.30-1build1=2.10.30-1ubuntu0.1=2.10.30-1ubuntu0.1+esm1=2.10.30-1ubuntu0.1+esm2=2.10.30-1ubuntu0.1+esm3
Ubuntu:Pro:24.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps/noble
Affected versions
=2.10.34-1=2.10.36-1=2.10.36-2=2.10.36-3build2=2.10.36-3build3=2.10.36-3ubuntu0.24.04.1=2.10.36-3ubuntu0.24.04.1+esm1=2.10.36-3ubuntu0.24.04.1+esm2=2.10.36-3ubuntu0.24.04.1+esm3
Ubuntu:26.10more threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=stonking
Affected versions
=3.2.2-1=3.2.4-1=3.2.4-2=3.2.4-3=3.2.6-1
Ubuntu:26.04:LTSmore threats →ghsa
gimp
pkg:deb/ubuntu/gimp?arch=source&distro=resolute
Affected versions
=3.0.4-6.1=3.0.4-6.2=3.0.6-1=3.2.0~RC2-2=3.2.0~RC2-3=3.2.0~RC2-3.1=3.2.0~RC2-3.2=3.2.0~RC2-3.3=3.2.0~RC3-1=3.2.0-1=3.2.2-1=3.2.2-1ubuntu0.26.04.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 03:18:21 UTC

Technical Analysis

The vulnerability CVE-2026-66758 affects the file-fits plugin in GNOME GIMP. It is caused by a signed 32-bit integer overflow during the calculation of memory allocation size when processing specially crafted FITS image files with large width and height values. This overflow results in an undersized heap buffer, which is subsequently overflowed when pixel data is written, leading to heap-based buffer overflow. The consequences include potential memory corruption, arbitrary code execution, or denial of service. Red Hat has issued security updates for GIMP in their Enterprise Linux 8 and 9 distributions to fix this vulnerability.

Potential Impact

Successful exploitation of this vulnerability can lead to memory corruption, which may allow an attacker to execute arbitrary code or cause a denial of service condition. The CVSS v3.1 base score is 7.8, indicating a high severity impact with high confidentiality, integrity, and availability impacts. The attack vector is local with low complexity, no privileges required, and requires user interaction.

Mitigation Recommendations

Red Hat has released security updates addressing this vulnerability for GIMP in Red Hat Enterprise Linux 8 and 9. Users should apply these official patches as provided by Red Hat to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-p2xc-g3qc-p2mq
Osv Schema Version
1.4.0
Aliases
["CVE-2026-66758"]
Database Specific Severity
HIGH
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a984532acd9273b496aa8bb

Added to database: 09/02/2026, 15:48:02 UTC

Last enriched: 10/18/2026, 03:18:21 UTC

Last updated: 10/18/2026, 18:48:22 UTC

Views: 46

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