Bug 2507629 - CVE-2026-66758 gimp: integer overflow in file-fits plugin causes a heap-based buffer overflow on crafted FITS images [fedora-all]
Summary: CVE-2026-66758 gimp: integer overflow in file-fits plugin causes a heap-based...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gimp
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["74a88f83-cc64-444d-a891-a...
Depends On:
Blocks: CVE-2026-66758
TreeView+ depends on / blocked
 
Reported: 2026-07-27 19:08 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-08-17 15:37 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-07-27 19:08:15 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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 Aoife Moloney 2026-08-17 15:37:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


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