CVE-2026-58380CWE-193

CVE-2026-58380

High · published July 6, 2026

CVSS v3.1
7.3
EPSS
0%
Percentile
16.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00257 · 16.4th percentile
Weakness
CWE-193 · Off-by-one Error
Published
2026-07-06T19:16Z
Affected products (4)
ProductVersionsFixed in
gimp/gimpall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
References (8)
EPSS history
Timeline
  • 06 JUL 13:58Z
    Gimp: gimp: stack buffer overflow in pnmscanner_gettoken()
    cvelistv5