CVE-2026-58380: GIMP - Buffer Overflow
- Cve: CVE-2026-58380
- Name: GIMP - Buffer Overflow
- 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.
- Impact: Attackers can cause denial of service or execute arbitrary code via crafted PNM files, potentially compromising the system.
- Remediation: Update to the latest version of GIMP containing the fix.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00344
- Epss percentile: 0.28294
- Assignee: [email protected]
- Published at: 2026-07-06T15:16:40Z
- Age in days: 141
- Modified at: 2026-11-17T20:59:23Z
- Patch available: yes
- Public exploits total: 1
- References total: 8
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-58380
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-193 | Off-by-one Error |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://gitlab.gnome.org/GNOME/gimp/-/issues/16206 | nvd | 2026-07-06 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://gitlab.gnome.org/GNOME/gimp/-/issues/16206 | Exploit, Issue Tracking, Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2026:40751 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2026:62507 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2026:73768 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2026:80509 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2026:93589 | Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2026-58380 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2496135 | Issue Tracking, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gimp:gimp | < 3.2.4 | no | nvd | /v1/products/gimp/gimp |
| redhat:enterprise_linux | = 9.0, = 8.0, = 7.0 | no | nvd | /v1/products/redhat/enterprise_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-07-06
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts