CVE-2026-58380: gimp Off-by-one Error
Vulnerability summary
CVE-2026-58380 is a high (CVSS 7.8) Off-by-one Error vulnerability in gimp. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 16.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 6 · Related 2Timeline
- 06-07-2026PublishedVulnerability first disclosed.
- 12-10-2026Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- CVE.orgCNA7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
0.00 pp
From 0.26% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (gitlab.gnome.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian1 product
- gimpAll versions (No fix recorded) | < 3.0.4-3+deb13u10 | < 3.2.4-1
Gimp1 product
- gimp3.2.4
Redhat1 product
- enterprise_linuxEOL7.0 | 8.0 | 9.0
Ubuntu1 product
- gimpAll versions (No fix recorded)
4 vendors · 4 products
References
12 links- bugzilla.redhat.com/show_bug.cgi?id=2496135Issue TrackingX Refsource REDHATREPORTThird Party Advisory