๐Ÿ” CVE Alert

CVE-2026-58380

HIGH 7.3

Gimp: gimp: stack buffer overflow in pnmscanner_gettoken()

CVSS Score
7.3
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-193
Vendor red hat
Product red hat enterprise linux 6
Published Jul 6, 2026
Last Updated Jul 6, 2026
Stay Ahead of the Next One

Get instant alerts for red hat red hat enterprise linux 6

Be the first to know when new high vulnerabilities affecting red hat red hat enterprise linux 6 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

Red Hat / Red Hat Enterprise Linux 6
All versions affected
Red Hat / Red Hat Enterprise Linux 7
All versions affected
Red Hat / Red Hat Enterprise Linux 8
All versions affected
Red Hat / Red Hat Enterprise Linux 9
All versions affected

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-58380 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2496135 gitlab.gnome.org: https://gitlab.gnome.org/GNOME/gimp/-/commit/83699817 gitlab.gnome.org: https://gitlab.gnome.org/GNOME/gimp/-/issues/16206

Credits

Red Hat would like to thank bb1abu for reporting this issue.