CVE-2026-58380
A flaw was found in GIMP's PNM file format parser. When parsing a …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/security/cve/CVE-2026-58380
- bugzilla.redhat.com/show_bug.cgi?id=2496135
- gitlab.gnome.org/GNOME/gimp/-/commit/83699817
- gitlab.gnome.org/GNOME/gimp/-/issues/16206
- 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
- nvd.nist.gov/vuln/detail/CVE-2026-58380
- cve.org/CVERecord?id=CVE-2026-58380
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.