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.
Security readout for executives and security teams
Plain-English summary
GIMP can mishandle specially sized images in its Despeckle plug-in, corrupting memory. A user would need to interact with affected functionality, so this is not a typical remote server exposure. Business impact is mainly workstation disruption, with possible code execution in some scenarios.
Executive priority
Address through normal vulnerability management, with higher priority for image-processing workstations that handle external files. This is not evidenced as actively exploited, but memory corruption plus possible code execution makes unmanaged desktop exposure worth closing.
Technical view
CVE-2025-6035 is a CWE-190 integer overflow in GIMP's Despeckle plug-in. Unchecked multiplication of image width, height, and bytes-per-pixel can under-allocate heap memory and cause out-of-bounds writes. Reported impacts include heap corruption, denial of service, and possible arbitrary code execution.
Likely exposure
Exposure is most likely on systems with GIMP installed where users process untrusted images. The bundle lists RHEL 6 and 7 status as unknown, and RHEL 8 and 9 as unaffected. Specific vulnerable upstream versions are not provided.
Exploitation context
The CVSS vector indicates local attack requirements, low complexity, low privileges, and required user interaction. The source bundle does not show CISA KEV listing or cited evidence of active exploitation. Treat exploit status as unconfirmed.
Researcher notes
The evidence supports an integer overflow leading to undersized allocation and heap out-of-bounds writes in the Despeckle plug-in. The bundle does not include exact vulnerable upstream version ranges or fixed package versions. Debian LTS and GNOME issue references exist, but details are not included here.
Mitigation direction
Check GIMP, Red Hat, Debian, and OS vendor advisories for affected and fixed versions.
Update GIMP packages when vendor fixes are available for your distribution.
Avoid processing untrusted images with GIMP until exposure is clarified or patched.
Limit GIMP use to least-privileged accounts and managed workstations.
Document exceptions where vendor status remains unknown.
Validation and detection
Inventory systems with the gimp package or GIMP application installed.
Compare installed versions against vendor advisories for CVE-2025-6035.
Identify users or workflows that process externally supplied images.
Confirm whether Red Hat estate includes RHEL 6 or RHEL 7 GIMP packages.
Record vendor status where the source bundle lists products as unaffected or unknown.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-190: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-190 · source CWE mapping
Integer Overflow or Wraparound
Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.