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.
References
| Link | Resource |
|---|---|
| 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 |
| https://gitlab.gnome.org/GNOME/gimp/-/commit/83699817 | Broken Link |
| https://gitlab.gnome.org/GNOME/gimp/-/issues/16206 | Exploit Issue Tracking Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
17 Nov 2026, 20:59
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:* | |
| References | () https://access.redhat.com/errata/RHSA-2026:40751 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:62507 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:73768 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:80509 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:93589 - Third Party Advisory |
02 Nov 2026, 10:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
12 Oct 2026, 03:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
30 Sep 2026, 15:22
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
02 Sep 2026, 10:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
16 Jul 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
10 Jul 2026, 17:26
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:gimp:gimp:3.2.4:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
|
| References | () https://access.redhat.com/security/cve/CVE-2026-58380 - Third Party Advisory | |
| References | () https://bugzilla.redhat.com/show_bug.cgi?id=2496135 - Issue Tracking, Third Party Advisory | |
| References | () https://gitlab.gnome.org/GNOME/gimp/-/commit/83699817 - Broken Link | |
| References | () https://gitlab.gnome.org/GNOME/gimp/-/issues/16206 - Exploit, Issue Tracking, Vendor Advisory | |
| First Time |
Gimp
Gimp gimp Redhat enterprise Linux Redhat |
06 Jul 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-06 15:16
Updated : 2026-11-17 20:59
NVD link : CVE-2026-58380
Mitre link : CVE-2026-58380
CVE.ORG link : CVE-2026-58380
JSON object : View
Products Affected
redhat
- enterprise_linux
gimp
- gimp
CWE
CWE-193
Off-by-one Error
