CVE-2026-58380: GIMP's PNM file format parser · CWE-193
Source GCVE Database
Not known to be exploited · CVSS 7.3 High : patch Red Hat Enterprise Linux 8 soon.
Data as of 2 Nov 2026, 13:31 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 7.3 |
|---|
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Nov 2026.
What to do
Patches and advisories
- access.redhat.com/errata/RHSA-2026:40751 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62507 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:73768 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:80509 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:93589 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 8gimp:2.8 | Affected– | Fixed in– |
| Red Hat Enterprise Linux 9gimp | Affected– | Fixed in– |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgimp | Affected– | Fixed in– |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsgimp | Affected– | Fixed in– |
| Red Hat Enterprise Linux 9.6 Extended Update Supportgimp | Affected– | Fixed in– |
| Red Hat Enterprise Linux 6gimp | Affected– | Fixed in– |
AI-suggested
Red Hat has released security updates for GIMP in Red Hat Enterprise Linux 9 that address this vulnerability. Users should apply the official patches as detailed in Red Hat advisory RHSA-2026:40751. No additional mitigations are indicated by the vendor advisory.
Description
A stack buffer overflow vulnerability exists in GIMP's PNM file format parser due to an off-by-one error in the pnmscanner_gettoken() function. This flaw can cause memory corruption when processing specially crafted PNM files, potentially leading to denial of service or arbitrary code execution. The issue has been assigned CVE-2026-58380 with a CVSS score of 7.3 (high severity). Red Hat has released patches for affected versions of GIMP in Red Hat Enterprise Linux 9.
References
- nvd.nist.gov/vuln/detail/CVE-2026-58380 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:40751 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62507 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:73768 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:80509 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:93589 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-58380 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2496135 (opens in a new tab)
- gitlab.gnome.org/GNOME/gimp/-/commit/83699817 (opens in a new tab)
- gitlab.gnome.org/GNOME/gimp/-/issues/16206 (opens in a new tab)