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…

CVE-2025-6035: Integer Overflow or Wraparound

0
Medium
VulnerabilityCVE-2025-6035cvecve-2025-6035
Published: Fri Jun 13 2025 (06/13/2025, 15:21:17 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Enterprise Linux 6

Description

A flaw was found in GIMP. An integer overflow vulnerability exists in the GIMP "Despeckle" plug-in. The issue occurs due to unchecked multiplication of image dimensions, such as width, height, and bytes-per-pixel (img_bpp), which can result in allocating insufficient memory and subsequently performing out-of-bounds writes. This issue could lead to heap corruption, a potential denial of service (DoS), or arbitrary code execution in certain scenarios.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/20/2026, 01:46:59 UTC

Technical Analysis

CVE-2025-6035 is a medium-severity integer overflow vulnerability identified in the GIMP image manipulation program, specifically within its 'Despeckle' plug-in. The vulnerability stems from the plug-in's failure to properly validate the multiplication of image dimensions—width, height, and bytes-per-pixel (img_bpp)—which can result in an integer overflow or wraparound. This overflow leads to the allocation of insufficient memory buffers. When the plug-in subsequently writes image data based on these incorrect buffer sizes, it causes out-of-bounds memory writes, corrupting the heap. Heap corruption can destabilize the application, causing crashes (denial of service) or, in certain scenarios, enabling attackers to execute arbitrary code with the privileges of the user running GIMP. The vulnerability requires local access with low privileges and user interaction, such as opening a maliciously crafted image file. The affected product is Red Hat Enterprise Linux 6, which includes the vulnerable GIMP version. Although no public exploits are known at this time, the flaw poses a tangible risk due to the potential for memory corruption and code execution. The CVSS v3.1 vector (AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H) indicates that the attack requires local access, low complexity, low privileges, and user interaction, with a high impact on availability and limited impact on confidentiality and integrity.

Potential Impact

The primary impact of CVE-2025-6035 is on application availability and system stability due to heap corruption caused by out-of-bounds memory writes. This can lead to denial of service through application crashes. More critically, in certain exploit scenarios, attackers could leverage this vulnerability to execute arbitrary code with the privileges of the user running GIMP, potentially leading to privilege escalation or further system compromise. Since exploitation requires local access and user interaction, the risk is somewhat contained but remains significant in environments where untrusted image files are handled or where users have access to potentially malicious content. Organizations using Red Hat Enterprise Linux 6 with GIMP installed, especially in desktop or workstation environments, may face operational disruptions or security breaches if this vulnerability is exploited. The medium CVSS score reflects a moderate but non-negligible threat, particularly in sensitive or high-security environments.

Mitigation Recommendations

To mitigate CVE-2025-6035, organizations should: 1) Apply vendor patches promptly once they become available for GIMP and Red Hat Enterprise Linux 6 to fix the integer overflow and memory allocation logic. 2) Restrict the use of the GIMP 'Despeckle' plug-in or disable it if not required, reducing the attack surface. 3) Implement strict file handling policies to prevent users from opening untrusted or suspicious image files, especially those received from external or unverified sources. 4) Employ application whitelisting and endpoint protection solutions that can detect anomalous behavior or crashes related to GIMP. 5) Educate users about the risks of opening unknown image files and enforce least privilege principles to limit the impact of potential exploitation. 6) Monitor system logs and application behavior for signs of heap corruption or crashes that could indicate exploitation attempts. These targeted steps go beyond generic advice by focusing on controlling the vulnerable plug-in usage and user interaction vectors.

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

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2025-06-12T16:52:13.150Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 684c4501a8c921274380a39f

Added to database: 6/13/2025, 3:34:25 PM

Last enriched: 3/20/2026, 1:46:59 AM

Last updated: 3/24/2026, 12:03:47 PM

Views: 58

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