CVE-2026-58380
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.
Severity
HIGH
CVSS v3
7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
0.318%
chance of exploitation in the next 30 days
higher than 25.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-193: Off-by-one Error
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-07-06 |
Timeline
- 2026-07-06Published by the CNA13:58 UTC
- 2026-07-06Published in NVD15:16 UTC · 1 hour 17 minutes after the CNA
- 2026-07-06CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| gimp gimp | before 3.2.4fixed in 3.2.4 | 3.2.4 |
| redhat enterprise_linux | 7.0no fix listed8no fix listed8.0no fix listed9no fix listed9.0no fix listed | not listednot listednot listednot listednot listed |
| redhat rhel_e4s | 9.2no fix listed9.4no fix listed | not listednot listed |
| redhat rhel_els | 7no fix listed | not listed |
| redhat rhel_eus | 9.6no fix listed | not listed |
References
- https://access.redhat.com/errata/RHSA-2026:40751
- https://access.redhat.com/errata/RHSA-2026:62507
- https://access.redhat.com/errata/RHSA-2026:73768
- https://access.redhat.com/errata/RHSA-2026:80509
- https://access.redhat.com/errata/RHSA-2026:93589
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16206
- https://access.redhat.com/security/cve/CVE-2026-58380
- https://bugzilla.redhat.com/show_bug.cgi?id=2496135
- https://gitlab.gnome.org/GNOME/gimp/-/commit/83699817
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-58380'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-58380'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-58380'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-58380'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).