CVE-2026-66758
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.
Key facts
- CVSS score
- 7.8 (v3.1)
- Severity
- HIGH
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
- CWE-190
- EPSS score
- 0.3% (21th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2026-49402)
- Published
- July 27, 2026
- NVD last modified
- October 12, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2026-49402 in the EU Vulnerability Database. Last updated in EUVD on October 12, 2026.
View on the EU Vulnerability DatabaseAffected products
- gimp / gimp
- gimp / gimp
- redhat / enterprise linux
- redhat / enterprise linux
- redhat / enterprise linux
- redhat / enterprise linux
Certified products that may be affected
31 FIPS 140 or Common Criteria certified products, from automated matching by sec-certs.org.
- Red Hat Enterprise Linux 8 NSS Cryptographic Module - Red Hat, Inc. - FIPS 140 5513 - active
- Red Hat Enterprise Linux 8 Kernel Cryptographic API - Red Hat, LLC - FIPS 140 5461 - active
- Red Hat Enterprise Linux 9 Kernel Cryptographic API - Red Hat, Inc. - FIPS 140 5445 - active
- Red Hat Enterprise Linux 9 libgcrypt - Red Hat, Inc. - FIPS 140 5366 - active
- Red Hat Enterprise Linux 8 Kernel Cryptographic API - Red Hat, Inc. - FIPS 140 5089 - active
See all 31 in the Security Certifications Explorer.
References
- https://access.redhat.com/errata/RHSA-2026:50817(Issue Tracking)
- https://access.redhat.com/errata/RHSA-2026:62507
- https://access.redhat.com/errata/RHSA-2026:73768
- https://access.redhat.com/errata/RHSA-2026:80509
- https://access.redhat.com/security/cve/CVE-2026-66758(Vendor Advisory)
- https://bugzilla.redhat.com/show_bug.cgi?id=2507475(Issue Tracking, Vendor Advisory)
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16528(Exploit, Issue Tracking, Vendor Advisory)
Last updated October 13, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain