CVE-2026-58380
Gimp: gimp: stack buffer overflow in pnmscanner_gettoken()
CVSS 3.1 7.3 HIGHCheck source for fixed versionsKEV status unknown
cve-program · CVE-2026-58380
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-58380 · CVE overview and exploitation status
cve-program · CVE-2026-58380
- https://access.redhat.com/errata/RHSA-2026:40751
- https://access.redhat.com/errata/RHSA-2026:62507
- https://access.redhat.com/errata/RHSA-2026:73768
- https://access.redhat.com/errata/RHSA-2026:80509
- https://access.redhat.com/errata/RHSA-2026:93589
- https://access.redhat.com/security/cve/CVE-2026-58380
- https://bugzilla.redhat.com/show_bug.cgi?id=2496135
- https://gitlab.gnome.org/GNOME/gimp/-/commit/83699817
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16206
Related changes
Linked by CVE identifier- Gimp: gimp: stack buffer overflow in pnmscanner_gettoken() · Affected-version evidence changed · 5 Nov 2026
- Gimp: gimp: stack buffer overflow in pnmscanner_gettoken() · Affected-version evidence changed · 2 Nov 2026