cve.bz

CVE-2026-58380 Off-by-one Error

7.8 highExploit referenceEPSS 0.3%Fix available

High (7.8). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-07-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-193 Off-by-one Error
Published
Modified
NVD analysis
Under analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 8100020260824165450.4c9c024f
  • Red Hat Red Hat Enterprise Linux 9: fixed in 2:3.0.4-4.el9_8.7
  • Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions: fixed in 2:2.99.8-4.el9_2.7
  • Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions: fixed in 2:2.99.8-4.el9_4.19
  • Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support: fixed in 2:2.99.8-4.el9_6.20
  • Debian, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux: fixed package versions per release
  • Vendor advisory: https://gitlab.gnome.org/GNOME/gimp/-/issues/16206

Ask an AI about this CVE

Show the promptExplain CVE-2026-58380 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-58380?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-58380?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-58380 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-58380

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-58380](https://cve.bz/cve/badge/CVE-2026-58380.svg)](https://cve.bz/cve/CVE-2026-58380)

HTML:

<a href="https://cve.bz/cve/CVE-2026-58380"><img src="https://cve.bz/cve/badge/CVE-2026-58380.svg" alt="CVE-2026-58380"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 88100020260824165450.4c9c024f
Red Hat Enterprise Linux 92:3.0.4-4.el9_8.7
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions2:2.99.8-4.el9_2.7
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions2:2.99.8-4.el9_4.19
Red Hat Enterprise Linux 9.6 Extended Update Support2:2.99.8-4.el9_6.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12gimpno fix listedDEBIAN-CVE-2026-58380
Debian13gimp3.0.4-3+deb13u10DEBIAN-CVE-2026-58380
Debian14gimp3.2.4-1DEBIAN-CVE-2026-58380
Ubuntu25.10, 26.04:LTS, Pro:16.04:LTS and 4 moregimpno fix listedUBUNTU-CVE-2026-58380
Red Hatenterprise_linux:8::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-26.module+el8.10.0+24752+9e6a86ef.8RHSA-2026:62507
Red Hatenterprise_linux:8::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-5.module+el8.10.0+22676+becd68d6RHSA-2026:62507
Red Hatenterprise_linux:8::appstreampygtk2, pygtk2-doc, pygtk2-devel and 3 more0:2.24.0-25.module+el8.9.0+21228+8e80d31dRHSA-2026:62507
Red Hatenterprise_linux:8::appstreampython2-cairo, python2-pycairo, python2-cairo-devel and 2 more0:1.16.3-7.module+el8.10.0+22676+becd68d6RHSA-2026:62507
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:3.0.4-4.el9_8.7RHSA-2026:40751
Red Hatrhel_e4s:9.2::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_2.7RHSA-2026:93589
Red Hatrhel_e4s:9.4::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_4.19RHSA-2026:80509
Red Hatrhel_eus:9.6::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_6.20RHSA-2026:73768
SUSELinux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP7gimp2.10.30-150400.3.58.1SUSE-SU-2026:3399-1
openSUSELeap 16.0gimp3.0.8-bp160.5.1openSUSE-SU-2026:21359-1
AlmaLinux8gimp, gimp-libs, gimp-devel and 1 more2:2.8.22-26.module_el8.10.0+4267+35168c80.8ALSA-2026:62507
AlmaLinux8pygobject2, pygobject2-doc, pygobject2-devel and 1 more2.28.7-5.module_el8.10.0+4267+35168c80ALSA-2026:62507
AlmaLinux8pygtk2, pygtk2-doc, pygtk2-devel and 1 more2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2026:62507
AlmaLinux8python2-cairo, python2-cairo-devel1.16.3-7.module_el8.10.0+4267+35168c80ALSA-2026:62507
AlmaLinux9gimp, gimp-libs2:3.0.4-4.el9_8.7ALSA-2026:40751
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1927+52edb5a0RLSA-2026:62507
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2RLSA-2026:62507
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40033+6fd27379.3RLSA-2026:62507
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40075+a21479b4.4RLSA-2026:62507
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40134+eab491b1.5RLSA-2026:62507
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+40181+ad0e3a65.6RLSA-2026:62507
Rocky Linux8pygobject20:2.28.7-5.module+el8.10.0+1927+52edb5a0RLSA-2026:62507
Rocky Linux8pygtk20:2.24.0-25.module+el8.9.0+1723+9bc93544RLSA-2026:62507
Rocky Linux8python2-pycairo0:1.16.3-7.module+el8.10.0+1927+52edb5a0RLSA-2026:62507

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate flaw in GIMP's PNM file parser could lead to memory corruption and potentially arbitrary code execution or denial of service. The vulnerability requires a user to open a specially crafted PNM image file with GIMP. As a desktop application, the impact is limited to the user's session and requires user interaction.

Red Hat's mitigation

None — requires opening a crafted PNM file.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8gimp:2.8-8100020260824165450.4c9c024fFixed 2026-09-02RHSA-2026:62507
Red Hat Enterprise Linux 9gimp-2:3.0.4-4.el9_8.7Fixed 2026-07-16RHSA-2026:40751
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgimp-2:2.99.8-4.el9_2.7Fixed 2026-11-02RHSA-2026:93589
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsgimp-2:2.99.8-4.el9_4.19Fixed 2026-10-12RHSA-2026:80509
Red Hat Enterprise Linux 9.6 Extended Update Supportgimp-2:2.99.8-4.el9_6.20Fixed 2026-09-30RHSA-2026:73768
Red Hat Enterprise Linux 6gimpOut of support scope
Red Hat Enterprise Linux 7gimpAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-58380.

References

Check your stackJSON