# CVE-2026-58380: gimp: A flaw was found in GIMP's PNM file format parser

CVE-2026-58380 is fixed in 15 products on 1 platform, first by DEBIAN-CVE-2026-58380, released July 7, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-58380
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0032
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 6, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gimp Debian 13.5 (trixie) | 3.0.4-3+deb13u10 | [DEBIAN-CVE-2026-58380](https://patchblox.com/security/data/fix/linux/debian-cve-2026-58380.md) | Jul 7, 2026 |
| Linux | gimp Debian 14 | 3.2.4-1 | [DEBIAN-CVE-2026-58380](https://patchblox.com/security/data/fix/linux/debian-cve-2026-58380.md) | Jul 7, 2026 |
| Linux | gimp RHEL 8 | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | gimp RHEL 9 | 2:3.0.4-4.el9_8.7 | [RHSA-2026:40751](https://patchblox.com/security/data/fix/linux/rhsa-2026-40751.md) | Jul 18, 2026 |
| Linux | gimp almalinux 8 | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | gimp almalinux 9 | 2:3.0.4-4.el9_8.7 | [ALSA-2026:40751](https://patchblox.com/security/data/fix/linux/alsa-2026-40751.md) | Jul 16, 2026 |
| Linux | gimp ol 8 | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | gimp ol 9 | 2:3.0.4-4.el9_8.7 | [ELSA-2026-40751](https://patchblox.com/security/data/fix/linux/elsa-2026-40751.md) | Jul 16, 2026 |
| Linux | gimp opensuse-leap 16.0 | 3.0.8-bp160.5.1 | [OPENSUSE-SU-2026:21359-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21359-1.md) | Jul 15, 2026 |
| Linux | gimp rocky 8 | 2:2.8.22-26.module+el8.10.0+1927+52edb5a0 | [RLSA-2026:62507](https://patchblox.com/security/data/fix/linux/rlsa-2026-62507.md) | Sep 2, 2026 |
| Linux | gimp sles 15.7 | 2.10.30-150400.3.58.1 | [SUSE-SU-2026:3399-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3399-1.md) | Jul 29, 2026 |
| Linux | gimp-devel RHEL 8 | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | gimp-devel almalinux 8 | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | gimp-devel ol 8 | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | gimp-devel-tools RHEL 8 | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | gimp-devel-tools almalinux 8 | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | gimp-devel-tools ol 8 | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | gimp-libs RHEL 8 | 2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8 | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | gimp-libs RHEL 9 | 2:3.0.4-4.el9_8.7 | [RHSA-2026:40751](https://patchblox.com/security/data/fix/linux/rhsa-2026-40751.md) | Jul 18, 2026 |
| Linux | gimp-libs almalinux 8 | 2:2.8.22-26.module_el8.10.0+4267+35168c80.8 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | gimp-libs almalinux 9 | 2:3.0.4-4.el9_8.7 | [ALSA-2026:40751](https://patchblox.com/security/data/fix/linux/alsa-2026-40751.md) | Jul 16, 2026 |
| Linux | gimp-libs ol 8 | 2:2.8.22-26.module+el8.10.0+91014+a7f2de23.8 | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | gimp-libs ol 9 | 2:3.0.4-4.el9_8.7 | [ELSA-2026-40751](https://patchblox.com/security/data/fix/linux/elsa-2026-40751.md) | Jul 16, 2026 |
| Linux | pygobject2 RHEL 8 | 0:2.28.7-5.module+el8.10.0+22676+becd68d6 | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | pygobject2 almalinux 8 | 2.28.7-5.module_el8.10.0+4267+35168c80 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | pygobject2 ol 8 | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | pygobject2 rocky 8 | 0:2.28.7-5.module+el8.10.0+1927+52edb5a0 | [RLSA-2026:62507](https://patchblox.com/security/data/fix/linux/rlsa-2026-62507.md) | Sep 2, 2026 |
| Linux | pygobject2-codegen RHEL 8 | 0:2.28.7-5.module+el8.10.0+22676+becd68d6 | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | pygobject2-codegen almalinux 8 | 2.28.7-5.module_el8.10.0+4267+35168c80 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | pygobject2-codegen ol 8 | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | pygobject2-devel RHEL 8 | 0:2.28.7-5.module+el8.10.0+22676+becd68d6 | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | pygobject2-devel almalinux 8 | 2.28.7-5.module_el8.10.0+4267+35168c80 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | pygobject2-devel ol 8 | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | pygobject2-doc RHEL 8 | 0:2.28.7-5.module+el8.10.0+22676+becd68d6 | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | pygobject2-doc almalinux 8 | 2.28.7-5.module_el8.10.0+4267+35168c80 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | pygobject2-doc ol 8 | 0:2.28.7-5.module+el8.10.0+90497+ae78887f | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | pygtk2 RHEL 8 | 0:2.24.0-25.module+el8.9.0+21228+8e80d31d | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | pygtk2 almalinux 8 | 2.24.0-25.module_el8.9.0+3725+d1441900 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | pygtk2 ol 8 | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | pygtk2 rocky 8 | 0:2.24.0-25.module+el8.9.0+1723+9bc93544 | [RLSA-2026:62507](https://patchblox.com/security/data/fix/linux/rlsa-2026-62507.md) | Sep 2, 2026 |
| Linux | pygtk2-codegen RHEL 8 | 0:2.24.0-25.module+el8.9.0+21228+8e80d31d | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | pygtk2-codegen almalinux 8 | 2.24.0-25.module_el8.9.0+3725+d1441900 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | pygtk2-codegen ol 8 | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | pygtk2-devel RHEL 8 | 0:2.24.0-25.module+el8.9.0+21228+8e80d31d | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | pygtk2-devel almalinux 8 | 2.24.0-25.module_el8.9.0+3725+d1441900 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | pygtk2-devel ol 8 | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | pygtk2-doc RHEL 8 | 0:2.24.0-25.module+el8.9.0+21228+8e80d31d | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | pygtk2-doc almalinux 8 | 2.24.0-25.module_el8.9.0+3725+d1441900 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | pygtk2-doc ol 8 | 0:2.24.0-25.module+el8.9.0+90151+46a7e4b5 | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | python2-cairo RHEL 8 | 0:1.16.3-7.module+el8.10.0+22676+becd68d6 | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | python2-cairo almalinux 8 | 1.16.3-7.module_el8.10.0+4267+35168c80 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | python2-cairo ol 8 | 0:1.16.3-7.module+el8.10.0+90497+ae78887f | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | python2-cairo-devel RHEL 8 | 0:1.16.3-7.module+el8.10.0+22676+becd68d6 | [RHSA-2026:62507](https://patchblox.com/security/data/fix/linux/rhsa-2026-62507.md) | Sep 13, 2026 |
| Linux | python2-cairo-devel almalinux 8 | 1.16.3-7.module_el8.10.0+4267+35168c80 | [ALSA-2026:62507](https://patchblox.com/security/data/fix/linux/alsa-2026-62507.md) | Sep 2, 2026 |
| Linux | python2-cairo-devel ol 8 | 0:1.16.3-7.module+el8.10.0+90497+ae78887f | [ELSA-2026-62507-0](https://patchblox.com/security/data/fix/linux/elsa-2026-62507-0.md) | Sep 2, 2026 |
| Linux | python2-pycairo rocky 8 | 0:1.16.3-7.module+el8.10.0+1927+52edb5a0 | [RLSA-2026:62507](https://patchblox.com/security/data/fix/linux/rlsa-2026-62507.md) | Sep 2, 2026 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
