Red HatCVE-2026-58380
Red Hat GIMP: memory corruption
High7.3CVE-2026-58380 · Published Jul 6, 2026 · updated Sep 2, 2026
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/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
More Red Hat advisories
All Red Hat| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 7 | Red Hat SSSD: path traversal | High8.0 | No fix yet |
| Jul 7 | Red Hat SSSD: insecure default | High8.8 | No fix yet |
| Jul 7 | Red Hat GIMP: integer overflow | High7.3 | No fix yet |
| Jul 6 | Red Hat GIMP. The PlayStation TIM loader: integer overflow | Medium5.5 | No fix yet |
| Jul 6 | Red Hat Advanced Cluster Security 4: denial of service | High7.7 | No fix yet |
| Jul 5 | A flaw exists in the org.keycloak.broker.oidc package where the OIDC broker... | Medium4.8 | No fix yet |