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.
CVE-2026-58380
Score 7.3 from GitHub Security Advisory (severity: HIGH) published 2026-07-06. a secondary CVSS source baseline 7.3; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.3
- EG Score
- 7.3(high)
- EPSS
- —
- KEV
- Not listed
Published
July 6, 2026
Last Modified
July 6, 2026
Advisory Details (4)
Auto-updated Jul 6, 2026GIMP PNM File Parsing Stack Buffer Overflow (#16206) · Issues · GNOME / GIMP · GitLab
https://gitlab.gnome.org/GNOME/gimp/-/issues/162062496135 – (CVE-2026-58380) CVE-2026-58380 gimp: gimp: Stack buffer overflow in pnmscanner_gettoken()
https://bugzilla.redhat.com/show_bug.cgi?id=2496135Vendor Advisories for CVE-2026-58380(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 4× in last 7d / 4× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 02:09 UTCEG score recompute
- 2026-07-07 02:09 UTCGHSA enrichment
- 2026-07-06 14:22 UTCEG score recompute
- 2026-07-06 14:21 UTCMITRE cvelistV5first tracked
Frequently asked(4)
What is CVE-2026-58380?
When was CVE-2026-58380 disclosed?
What is the CVSS score of CVE-2026-58380?
How do I remediate CVE-2026-58380?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-58380
Is Your Infrastructure Affected by CVE-2026-58380?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.