CVE-2026-58382
gimp: gimp: Heap buffer overflow write in ReadJeffsImage()
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 Jeff's Image Format (JIF) parser. A heap-based out-of-bounds write occurs in the ReadJeffsImage() function when a crafted JIF file supplies an invalid bits-per-pixel value that causes the unpack loop to write beyond the destination buffer. This could lead to memory corruption, potentially resulting in denial of service or arbitrary code execution.
Statement
A flaw was found in GIMP's Jeff's Image Format (JIF) parser. A heap out-of-bounds write in the ReadJeffsImage() function can lead to memory corruption, potentially resulting in denial of service or arbitrary code execution. Successful exploitation requires a user to open a specially crafted JIF file with a build that includes the JIF import path.
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