CVE-2026-58380
published high CVSS 3.1 · 7.3Gimp: gimp: stack buffer overflow in pnmscanner_gettoken()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8 | gimp:2.88100020260824165450.4c9c024f and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | gimp2:3.0.4-4.el9_8.7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | gimpRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions · 2:2.99.8-4.el9_2.7 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | gimpRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions · 2:2.99.8-4.el9_4.19 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2GIMP-2026-016 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | gimp | Advisory build | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | ALSA-2026:62507 |
| Debian | trixie | gimp | Advisory build | 3.0.4-3+deb13u10 | DSA-6470-1 |
| Oracle Linux | 8 | gimpaarch64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | gimpRed Hat Enterprise Linux 9.6 Extended Update Support · 2:2.99.8-4.el9_6.20 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6 | gimp | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 7 | gimp | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | RHEL-8 | gimpaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| SUSE / openSUSE | SLE-15-SP7 | gimpaarch64 | Advisory build | 2.10.30-150400.3.58.1 | SUSE-SU-2026:3399-1 |
| AlmaLinux | 9 | gimp | Advisory build | 2:3.0.4-4.el9_8.7 | ALSA-2026:40751 |
| Oracle Linux | 8 | gimpx86_64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 9 | gimpaarch64 | Advisory build | 2:3.0.4-4.el9_8.7 | ELSA-2026-40751 |
| Oracle Linux | 9 | gimpx86_64 | Advisory build | 2:3.0.4-4.el9_8.7 | ELSA-2026-40751 |
| Red Hat Enterprise Linux | RHEL-8 | gimpppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimps390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimpsrc | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimpx86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-9 | gimpaarch64 | Advisory build | 2:2.99.8-4.el9_2.7 | RHSA-2026:93589 |
| Red Hat Enterprise Linux | RHEL-9 | gimpaarch64 | Advisory build | 2:2.99.8-4.el9_4.19 | RHSA-2026:80509 |
| Red Hat Enterprise Linux | RHEL-9 | gimpaarch64 | Advisory build | 2:2.99.8-4.el9_6.20 | RHSA-2026:73768 |
| Red Hat Enterprise Linux | RHEL-9 | gimpaarch64 | Advisory build | 2:3.0.4-4.el9_8.7 | RHSA-2026:40751 |
| Red Hat Enterprise Linux | RHEL-9 | gimpppc64le | Advisory build | 2:2.99.8-4.el9_2.7 | RHSA-2026:93589 |
| Red Hat Enterprise Linux | RHEL-9 | gimpppc64le | Advisory build | 2:2.99.8-4.el9_4.19 | RHSA-2026:80509 |
| Red Hat Enterprise Linux | RHEL-9 | gimpppc64le | Advisory build | 2:2.99.8-4.el9_6.20 | RHSA-2026:73768 |
| Red Hat Enterprise Linux | RHEL-9 | gimpppc64le | Advisory build | 2:3.0.4-4.el9_8.7 | RHSA-2026:40751 |
| Red Hat Enterprise Linux | RHEL-9 | gimps390x | Advisory build | 2:2.99.8-4.el9_2.7 | RHSA-2026:93589 |
| Red Hat Enterprise Linux | RHEL-9 | gimps390x | Advisory build | 2:2.99.8-4.el9_4.19 | RHSA-2026:80509 |
| Red Hat Enterprise Linux | RHEL-9 | gimps390x | Advisory build | 2:2.99.8-4.el9_6.20 | RHSA-2026:73768 |
| Red Hat Enterprise Linux | RHEL-9 | gimpsrc | Advisory build | 2:2.99.8-4.el9_2.7 | RHSA-2026:93589 |
| Red Hat Enterprise Linux | RHEL-9 | gimpsrc | Advisory build | 2:2.99.8-4.el9_4.19 | RHSA-2026:80509 |
| Red Hat Enterprise Linux | RHEL-9 | gimpsrc | Advisory build | 2:2.99.8-4.el9_6.20 | RHSA-2026:73768 |
| Red Hat Enterprise Linux | RHEL-9 | gimpsrc | Advisory build | 2:3.0.4-4.el9_8.7 | RHSA-2026:40751 |
| Red Hat Enterprise Linux | RHEL-9 | gimpx86_64 | Advisory build | 2:2.99.8-4.el9_2.7 | RHSA-2026:93589 |
| Red Hat Enterprise Linux | RHEL-9 | gimpx86_64 | Advisory build | 2:2.99.8-4.el9_4.19 | RHSA-2026:80509 |
| Red Hat Enterprise Linux | RHEL-9 | gimpx86_64 | Advisory build | 2:2.99.8-4.el9_6.20 | RHSA-2026:73768 |
| Red Hat Enterprise Linux | RHEL-9 | gimpx86_64 | Advisory build | 2:3.0.4-4.el9_8.7 | RHSA-2026:40751 |
| SUSE / openSUSE | SLE-15-SP7 | gimpx86_64 | Advisory build | 2.10.30-150400.3.58.1 | SUSE-SU-2026:3399-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gimpaarch64 | Advisory build | 3.0.8-bp160.5.1 | OPENSUSE-SU-2026:21359-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gimpppc64le | Advisory build | 3.0.8-bp160.5.1 | OPENSUSE-SU-2026:21359-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gimpx86_64 | Advisory build | 3.0.8-bp160.5.1 | OPENSUSE-SU-2026:21359-1 |
| AlmaLinux | 8 | gimp-devel | Advisory build | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | ALSA-2026:62507 |
| AlmaLinux | 8 | gimp-devel-tools | Advisory build | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | ALSA-2026:62507 |
| AlmaLinux | 8 | gimp-libs | Advisory build | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygobject2 | Advisory build | 2.28.7-5.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygobject2-codegen | Advisory build | 2.28.7-5.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygobject2-devel | Advisory build | 2.28.7-5.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygobject2-doc | Advisory build | 2.28.7-5.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygtk2 | Advisory build | 2.24.0-25.module_el8.9.0+3725+d1441900 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygtk2-codegen | Advisory build | 2.24.0-25.module_el8.9.0+3725+d1441900 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygtk2-devel | Advisory build | 2.24.0-25.module_el8.9.0+3725+d1441900 | ALSA-2026:62507 |
| AlmaLinux | 8 | pygtk2-doc | Advisory build | 2.24.0-25.module_el8.9.0+3725+d1441900 | ALSA-2026:62507 |
| AlmaLinux | 8 | python2-cairo | Advisory build | 1.16.3-7.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 8 | python2-cairo-devel | Advisory build | 1.16.3-7.module_el8.10.0+4267+35168c80 | ALSA-2026:62507 |
| AlmaLinux | 9 | gimp-libs | Advisory build | 2:3.0.4-4.el9_8.7 | ALSA-2026:40751 |
| Oracle Linux | 8 | gimp-develaarch64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | gimp-develx86_64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | gimp-devel-toolsaarch64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | gimp-devel-toolsx86_64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | gimp-libsaarch64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | gimp-libsx86_64 · gimp · 2.8b | Advisory build | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2aarch64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2x86_64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-codegenaarch64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-codegenx86_64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-develaarch64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-develx86_64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-docaarch64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygobject2-docx86_64 · gimp · 2.8b | Advisory build | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2aarch64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2x86_64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-codegenaarch64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-codegenx86_64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-develaarch64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-develx86_64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-docaarch64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | pygtk2-docx86_64 · gimp · 2.8b | Advisory build | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | ELSA-2026-62507-0 |
| Oracle Linux | 8 | python2-cairoaarch64 · gimp · 2.8b | Advisory build | 0:1.16.3-7.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | python2-cairox86_64 · gimp · 2.8b | Advisory build | 0:1.16.3-7.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | python2-cairo-develaarch64 · gimp · 2.8b | Advisory build | 0:1.16.3-7.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 8 | python2-cairo-develx86_64 · gimp · 2.8b | Advisory build | 0:1.16.3-7.module+el8.10.0+90497+ae78887f | ELSA-2026-62507-0 |
| Oracle Linux | 9 | gimp-libsaarch64 | Advisory build | 2:3.0.4-4.el9_8.7 | ELSA-2026-40751 |
| Oracle Linux | 9 | gimp-libsx86_64 | Advisory build | 2:3.0.4-4.el9_8.7 | ELSA-2026-40751 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debuginfoaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debuginfoppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debuginfos390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debuginfox86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debugsourceaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debugsourceppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debugsources390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-debugsourcex86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-develaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-develppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devels390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-develx86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-toolsaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-toolsppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-toolss390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-toolsx86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-tools-debuginfoaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-tools-debuginfoppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-tools-debuginfos390x | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-devel-tools-debuginfox86_64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-libsaarch64 | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
| Red Hat Enterprise Linux | RHEL-8 | gimp-libsppc64le | Advisory build | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | RHSA-2026:62507 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | 8100020260824165450.4c9c024f and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 2:3.0.4-4.el9_8.7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 2:2.99.8-4.el9_2.7 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | 2:2.99.8-4.el9_4.19 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 2:2.99.8-4.el9_6.20 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
Weaknesses
1- CWE-193 Off-by-one Error
References
9- RHSA-2026:40751 https://access.redhat.com/errata/RHSA-2026:40751
- RHSA-2026:62507 https://access.redhat.com/errata/RHSA-2026:62507
- RHSA-2026:73768 https://access.redhat.com/errata/RHSA-2026:73768
- RHSA-2026:80509 https://access.redhat.com/errata/RHSA-2026:80509
- RHSA-2026:93589 https://access.redhat.com/errata/RHSA-2026:93589
- https://access.redhat.com/security/cve/CVE-2026-58380
- RHBZ#2496135 https://bugzilla.redhat.com/show_bug.cgi?id=2496135
- https://gitlab.gnome.org/GNOME/gimp/-/commit/83699817
- https://gitlab.gnome.org/GNOME/gimp/-/issues/16206
Provider assertions
2redhat · cna
Gimp: gimp: stack buffer overflow in pnmscanner_gettoken()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4d62c1f49b6751e0d3ceb208b92f066f6b58a617378360768931b38f6cd47424
- Ingested
- 07 Nov 2026, 23:45:39 UTC
- Source record
- Official CVE record