cve.bz

CVE-2026-66758 Year 2038 problem, Y2K38, Y2038, Epochalypse

7.8 highExploit referenceEPSS 0.3%Fix available

High (7.8). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-07-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-66758 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-66758?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-66758?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-66758 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-66758

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-66758](https://cve.bz/cve/badge/CVE-2026-66758.svg)](https://cve.bz/cve/CVE-2026-66758)

HTML:

<a href="https://cve.bz/cve/CVE-2026-66758"><img src="https://cve.bz/cve/badge/CVE-2026-66758.svg" alt="CVE-2026-66758"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 88100020260824165450.4c9c024f
Red Hat Enterprise Linux 92:3.0.4-4.el9_8.9
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions2:2.99.8-4.el9_2.7
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions2:2.99.8-4.el9_4.19
Red Hat Enterprise Linux 9.6 Extended Update Support2:2.99.8-4.el9_6.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12gimpno fix listedDEBIAN-CVE-2026-66758
Debian13gimp3.0.4-3+deb13u10DEBIAN-CVE-2026-66758
Debian14gimp3.2.6-1DEBIAN-CVE-2026-66758
Ubuntu26.04:LTS, 26.10, Pro:16.04:LTS and 4 moregimpno fix listedUBUNTU-CVE-2026-66758
Red Hatenterprise_linux:8::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8RHSA-2026:62507
Red Hatenterprise_linux:8::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-5.module+el8.10.0+22676+becd68d6RHSA-2026:62507
Red Hatenterprise_linux:8::appstreampygtk2, pygtk2-doc, pygtk2-devel and 3 more0:2.24.0-25.module+el8.9.0+21228+8e80d31dRHSA-2026:62507
Red Hatenterprise_linux:8::appstreampython2-cairo, python2-pycairo, python2-cairo-devel and 2 more0:1.16.3-7.module+el8.10.0+22676+becd68d6RHSA-2026:62507
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:3.0.4-4.el9_8.9RHSA-2026:50817
Red Hatrhel_e4s:9.2::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_2.7RHSA-2026:93589
Red Hatrhel_e4s:9.4::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_4.19RHSA-2026:80509
Red Hatrhel_eus:9.6::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_6.20RHSA-2026:73768
openSUSELeap 16.0gimp3.0.8-bp160.6.1openSUSE-SU-2026:21521-1
openSUSETumbleweedgimp3.2.4-3.1openSUSE-SU-2026:11449-1
AlmaLinux8gimp, gimp-libs, gimp-devel and 1 more2:2.8.22-26.module_el8.10.0+4267+35168c80.8ALSA-2026:62507
AlmaLinux8pygobject2, pygobject2-doc, pygobject2-devel and 1 more2.28.7-5.module_el8.10.0+4267+35168c80ALSA-2026:62507
AlmaLinux8pygtk2, pygtk2-doc, pygtk2-devel and 1 more2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2026:62507
AlmaLinux8python2-cairo, python2-cairo-devel1.16.3-7.module_el8.10.0+4267+35168c80ALSA-2026:62507
AlmaLinux9gimp, gimp-libs2:3.0.4-4.el9_8.9ALSA-2026:50817
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1927+52edb5a0RLSA-2026:62507
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2RLSA-2026:62507
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40033+6fd27379.3RLSA-2026:62507
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40075+a21479b4.4RLSA-2026:62507
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40134+eab491b1.5RLSA-2026:62507
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40181+ad0e3a65.6RLSA-2026:62507
Rocky Linux8pygobject20:2.28.7-5.module+el8.10.0+1927+52edb5a0RLSA-2026:62507
Rocky Linux8pygtk20:2.24.0-25.module+el8.9.0+1723+9bc93544RLSA-2026:62507
Rocky Linux8python2-pycairo0:1.16.3-7.module+el8.10.0+1927+52edb5a0RLSA-2026:62507

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this vulnerability, an attacker needs to convince a user to process a specially crafted FITS image with GIMP, reducing the likelihood of exploitation. However, successful exploitation may potentially lead to arbitrary code execution or a denial of service.

Default Red Hat Enterprise Linux security features, including SELinux enforcement, Address Space Layout Randomization (ASLR) and NX (No-Execute) stack protection, significantly increase the difficulty of achieving arbitrary code execution, limiting the impact of this vulnerability.

Due to this reason, this flaw has been rated with an important severity.

Red Hat's mitigation

To mitigate this vulnerability, do not open FITS files from untrusted sources with GIMP.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8gimp:2.8-8100020260824165450.4c9c024fFixed 2026-09-02RHSA-2026:62507
Red Hat Enterprise Linux 9gimp-2:3.0.4-4.el9_8.9Fixed 2026-08-05RHSA-2026:50817
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgimp-2:2.99.8-4.el9_2.7Fixed 2026-11-02RHSA-2026:93589
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsgimp-2:2.99.8-4.el9_4.19Fixed 2026-10-12RHSA-2026:80509
Red Hat Enterprise Linux 9.6 Extended Update Supportgimp-2:2.99.8-4.el9_6.20Fixed 2026-09-30RHSA-2026:73768
Red Hat Enterprise Linux 6gimpWill not fix
Red Hat Enterprise Linux 7gimpAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-66758.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON