Bug 2507475 (CVE-2026-66758) - CVE-2026-66758 gimp: integer overflow in file-fits plugin causes a heap-based buffer overflow on crafted FITS images
Summary: CVE-2026-66758 gimp: integer overflow in file-fits plugin causes a heap-based...
Keywords:
Status: NEW
Alias: CVE-2026-66758
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2507629
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-27 14:08 UTC by OSIDB Bzimport
Modified: 2026-10-12 01:56 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:50817 0 None None None 2026-08-05 15:05:05 UTC
Red Hat Product Errata RHSA-2026:62507 0 None None None 2026-09-02 09:03:46 UTC
Red Hat Product Errata RHSA-2026:73768 0 None None None 2026-09-30 08:26:39 UTC
Red Hat Product Errata RHSA-2026:80509 0 None None None 2026-10-12 01:56:23 UTC

Description OSIDB Bzimport 2026-07-27 14:08:38 UTC
A flaw was found in the file-fits plugin in GIMP, affecting all versions. 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.

Comment 1 errata-xmlrpc 2026-08-05 15:05:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:50817 https://access.redhat.com/errata/RHSA-2026:50817

Comment 2 errata-xmlrpc 2026-09-02 09:03:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:62507 https://access.redhat.com/errata/RHSA-2026:62507

Comment 3 Jon Orris 2026-09-30 08:26:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:73768 https://access.redhat.com/errata/RHSA-2026:73768

Comment 5 Jon Orris 2026-10-12 01:56:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:80509 https://access.redhat.com/errata/RHSA-2026:80509


Note You need to log in before you can comment on or make changes to this bug.