CVE-2026-58380
Medium
Elevated severity or exploit probability.
CVSS base
7.3
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS — probability of exploitation (30 days)
0.3%
17.8th percentile
CISA KEV
Not listed
Weakness / dates
CWE-193
Published 2026-07-06 · modified 2026-09-02
CVSS breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
| Attack Vector | L | Local |
| Attack Complexity | L | Low |
| Privileges Required | L | Low |
| User Interaction | R | Required |
| Scope | U | Unchanged |
| Confidentiality | H | High |
| Integrity | H | High |
| Availability | H | High |
Timeline
- 2026-07-06 — Published (NVD)
- 2026-09-02 — Last modified (NVD)
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
References
- https://access.redhat.com/errata/RHSA-2026:40751
- https://access.redhat.com/errata/RHSA-2026:62507
- 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
- exploit https://gitlab.gnome.org/GNOME/gimp/-/issues/16206