CVE-2026-58388
gimp: gimp: Stack-based out-of-bounds write in Seattle FilmWorks loader
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 11, 2026
Updated · July 7, 2026
Description
A flaw was found in GIMP's Seattle FilmWorks (SFW94A) loader. A stack-based out-of-bounds write occurs in load_image() because a stack buffer sized as file_size - 0xE0 is later indexed using bounds based on file_size. This can corrupt stack memory and potentially lead to denial of service or arbitrary code execution.
Statement
A flaw was found in GIMP's Seattle FilmWorks (SFW94A) loader. The load_image() function allocates a stack buffer for file data but later uses larger bounds derived from the full file size, allowing stack memory corruption when a user opens a specially crafted SFW file.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CWE-787 · Out-of-bounds Write