Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 82%

CVE-2026-58380: Off-by-one Error in Red Hat Red Hat Enterprise Linux 9

0
High
VulnerabilityCVE-2026-58380cvecve-2026-58380
Published: 07/06/2026 (07/06/2026, 13:58:43 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Enterprise Linux 9

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.

CVSS v3.1

Score 7.3high

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

Affected software

Affected versions
>=9 <9.8

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/17/2026, 08:21:04 UTC

Technical Analysis

CVE-2026-58380 is a vulnerability in the GIMP image manipulation program included in Red Hat Enterprise Linux 9. The flaw is an off-by-one error in the pnmscanner_gettoken() function of the PNM file parser, where a null terminator is written one byte beyond the allocated stack buffer boundary. This causes a stack buffer overflow, potentially leading to memory corruption that can be exploited for denial of service or arbitrary code execution. Red Hat has issued an important security advisory and released patched GIMP packages (version 3.0.4-4.el9_8.7) to fix this issue.

Potential Impact

Successful exploitation of this vulnerability can cause memory corruption, which may lead to denial of service or allow an attacker to execute arbitrary code with the privileges of the user running GIMP. The CVSS 3.1 base score of 7.3 reflects high impact on confidentiality, integrity, and availability. No known exploits in the wild have been reported at this time.

Mitigation Recommendations

Red Hat has released a security update for GIMP in Red Hat Enterprise Linux 9 that fixes this vulnerability. Users should apply the update to GIMP version 3.0.4-4.el9_8.7 or later as provided in the Red Hat advisory RHSA-2026:40751. Refer to Red Hat's official update instructions at https://access.redhat.com/articles/11258 for applying the patch. No additional mitigation steps are required beyond applying the official update.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-06-30T16:54:04.312Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-58380","vendor":"Red Hat"}]

Threat ID: 6a4bba0b27e9c79719a6f210

Added to database: 07/06/2026, 14:22:03 UTC

Last enriched: 07/17/2026, 08:21:04 UTC

Last updated: 08/20/2026, 10:52:10 UTC

Views: 103

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses