CVE-2026-58380

Description

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.

Severity
HIGH
CVSS v3
7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
0.318%
chance of exploitation in the next 30 days
higher than 25.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impacttotal
Scored2026-07-06

Timeline

  1. 2026-07-06Published by the CNA13:58 UTC
  2. 2026-07-06Published in NVD15:16 UTC · 1 hour 17 minutes after the CNA
  3. 2026-07-06CISA SSVC decision recordedsame day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
gimp gimpbefore 3.2.4fixed in 3.2.43.2.4
redhat enterprise_linux7.0no fix listed8no fix listed8.0no fix listed9no fix listed9.0no fix listednot listednot listednot listednot listednot listed
redhat rhel_e4s9.2no fix listed9.4no fix listednot listednot listed
redhat rhel_els7no fix listednot listed
redhat rhel_eus9.6no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources