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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gimp:gimp:3.2.4:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-07-06 15:16

Updated : 2026-09-02 10:16


NVD link : CVE-2026-58380

Mitre link : CVE-2026-58380

CVE.ORG link : CVE-2026-58380


JSON object : View

Products Affected

redhat

  • enterprise_linux

gimp

  • gimp
CWE
CWE-193

Off-by-one Error