A flaw was found in GIMP's PNM file format parser. When...
High severity
Unreviewed
Published
Jul 6, 2026
to the GitHub Advisory Database
•
Updated Jul 16, 2026
Description
Published by the National Vulnerability Database
Jul 6, 2026
Published to the GitHub Advisory Database
Jul 6, 2026
Last updated
Jul 16, 2026
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.
References