High severity7.3NVD Advisory· Published Jul 6, 2026· Updated Jul 16, 2026
CVE-2026-58380
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.
Affected products
8cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
- osv-coords3 versionspkg:rpm/opensuse/gimp&distro=openSUSE%20Leap%2016.0pkg:rpm/almalinux/gimppkg:rpm/almalinux/gimp-libs
< 3.0.8-bp160.5.1+ 2 more
- (no CPE)range: < 3.0.8-bp160.5.1
- (no CPE)range: < 2:3.0.4-4.el9_8.7
- (no CPE)range: < 2:3.0.4-4.el9_8.7
Patches
Vulnerability mechanics
References
5- gitlab.gnome.org/GNOME/gimp/-/issues/16206nvdExploitIssue TrackingVendor Advisory
- access.redhat.com/security/cve/CVE-2026-58380nvdThird Party Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party Advisory
- gitlab.gnome.org/GNOME/gimp/-/commit/83699817nvdBroken Link
- access.redhat.com/errata/RHSA-2026:40751nvd
News mentions
0No linked articles in our index yet.