CVE-2026-58380

HIGH CVSS 3.1: 7.8 EPSS 0.34%
Updated Nov 17, 2026
Red Hat
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions before 3.2.4
Fixed In 3.2.4
Type CWE-193
Vendor Red Hat
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 5

Configuration From (including) Up to (excluding)
Gimp Gimp
cpe:2.3:a:gimp:gimp:3.2.4:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
— —
Gimp Gimp
cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*
— 3.2.4