CVE-2026-58380
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.
Published:Jul 6, 2026
Last Modified:Sep 2, 2026
EPS:Jul 6, 2026
EPSS Score:0.00257
CVSS Score:7.3
Affected Products
Vendor
Product
Action
Vendor
Gimp
Product
Gimp
Gimp
Gimp
Vendor
Gnome
Product
Gimp
Gnome
Gimp
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
No CAPEC recorded yet
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
