Vulnerability in Gimp
CVE-2026-58380
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.003 (16.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 16th percentile — 16.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Gimp — versions 3.2.4
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9 — versions 2:3.0.4-4.el9_8.7
- Red Hat Enterprise Linux — versions 7.0, 8.0, 9.0
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-58380 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- gitlab.gnome.org/GNOME/gimp/-/commit/83699817 (Broken Link)
- gitlab.gnome.org/GNOME/gimp/-/issues/16206 (Exploit, Issue Tracking, Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:40751 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:62507 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:73768 (vendor-advisory)
Frequently asked questions
- What is CVE-2026-58380?
- CVE-2026-58380 is a high-severity vulnerability in Gimp, classified under Off-by-one Error. CVSS score: 7.3/10. Published 2026-07-06.
- How severe is CVE-2026-58380?
- High severity. CVSS v3 base score is 7.3 out of 10.