A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Gimp gimp
- Red Hat enterprise linux
Weakness type
References
- access.redhat.com /errata/RHSA-2026:40751
- access.redhat.com /errata/RHSA-2026:62507
- access.redhat.com /errata/RHSA-2026:73768
- access.redhat.com /errata/RHSA-2026:80509
- access.redhat.com /errata/RHSA-2026:93589
- access.redhat.com /security/cve/CVE-2026-58380
- bugzilla.redhat.com /show_bug.cgi
- gitlab.gnome.org /GNOME/gimp/-/commit/83699817
- gitlab.gnome.org /GNOME/gimp/-/issues/16206
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning