Red HatCVE-2026-58380
Red Hat GIMP: memory corruption
No fix yet
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 6 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 7 Product | all versions | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-193
- www.cve.org/CVERecord?id=CVE-2026-58380
- nvd.nist.gov/vuln/detail/CVE-2026-58380
- 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?id=2496135
- gitlab.gnome.org/GNOME/gimp/-/commit/83699817
- gitlab.gnome.org/GNOME/gimp/-/issues/16206