Vulnerability record · CVE-2026-58380 · published 6 July 2026
CVE-2026-58380: Gimp vulnerability
Gimp · Gimp
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.
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/errata/RHSA-2026:40751 | |
| https://access.redhat.com/errata/RHSA-2026:62507 | |
| https://access.redhat.com/security/cve/CVE-2026-58380 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2496135 | Issue TrackingThird Party Advisory |
| https://gitlab.gnome.org/GNOME/gimp/-/commit/83699817 | Broken Link |
| https://gitlab.gnome.org/GNOME/gimp/-/issues/16206 | ExploitIssue TrackingVendor Advisory |
Track CVE-2026-58380 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-58380), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.