Vulnerability

CVE-2026-58380

highCVSS 3.1 7.8Published 6 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gimp gimp
  • Red Hat enterprise linux

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning