High severity · published Jul 6, 2026
CVE-2026-58380
Gimp: gimp: stack buffer overflow in pnmscanner_gettoken()
7.8
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 17% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat Enterprise Linux 6 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 7 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 9 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Enterprise Linux 9.6 Extended Update Support · Red Hat
All versions, or not specified · source: vendor
EL
Enterprise Linux · Redhat
7.0; 8.0; 9.0 · source: NVD
GI
Gimp · Gimp
3.2.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-58380
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-58380
vendor-advisory
https://access.redhat.com/errata/RHSA-2026:40751
vendor-advisory
https://access.redhat.com/errata/RHSA-2026:62507
vendor-advisory
https://access.redhat.com/errata/RHSA-2026:73768
vendor-advisory
https://access.redhat.com/errata/RHSA-2026:80509
vdb-entry
https://access.redhat.com/security/cve/CVE-2026-58380
issue-tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2496135
More from Red Hat Enterprise Linux 6
8.8
CVE-2025-31277
Apple Multiple Products Buffer Overflow Vulnerability
7.5
CVE-2026-34486
Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptor
10.0
CVE-2026-4692
Sandbox escape in the Responsive Design Mode component
10.0
CVE-2026-4689
Sandbox escape due to incorrect boundary conditions, integer overflow in the XPCOM component
10.0
CVE-2026-4688
Sandbox escape due to use-after-free in the Disability Access APIs component
