CVE-2026-58380: Gimp
High severity, CVSS 7.8. EPSS: 0.3% chance of exploitation in the next 30 days.
A flaw was found in GIMP's PNM file format parser. When parsing a specially crafted PNM file, the pnmscanner_gettoken() function writes a null terminator one byte past the end of a stack-allocated buffer due to an off-by-one error in the loop boundary check. This could lead to memory corruption, potentially resulting in denial of service or arbitrary code execution.
Affected products
- Gimp Gimp: version 3.2.4 only
- Red Hat Enterprise Linux: version 7.0 only; version 8.0 only; version 9.0 only
Published 2026-07-06. Last modified 2026-09-30.