CVE-2026-58380Gimp: gimp: stack buffer overflow in pnmscanner_gettoken()
- 7.3HighCVSS base score
- 0.34%Exploitation in 30 daysEPSS · top 71% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 6 days later
· 6 days later
Published
- 4 months later
· 4 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.34% · top 71% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Affected products
Red Hat · Red Hat Enterprise Linux 8
- unaffected 8100020260824165450.4c9c024f – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 2:3.0.4-4.el9_8.7 – < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- unaffected 2:2.99.8-4.el9_2.7 – < *
Red Hat · Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- unaffected 2:2.99.8-4.el9_4.19 – < *
Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Support
- unaffected 2:2.99.8-4.el9_6.20 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat Enterprise Linux 7
All versions: affected
What to do
Workaround: None — requires opening a crafted PNM file.
References
References9
- RHSA-2026:40751 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:62507 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:73768 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:80509 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:93589 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-58380 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2496135 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/gimp/-/commit/83699817 (opens in a new tab)
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16206 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-41875 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-58380)Record last updated .