Every CVE Search/ Get API key

CVE-2025-6035

Gimp: gimp integer overflow

6.1 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
High

Exploit likelihood

0.59%Up 0.6 points since Jun 14, 2025
90%50%10%1%

What each source reports

CVE List Score used 6.1

Gimp: gimp integer overflow

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.

Record
CVE-2025-6035
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
Weakness
CWE-190
Updated
2026-11-05
EUVDEUVD-2025-18287 6.1

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.

Record
EUVD-2025-18287
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
Updated
2026-11-05
GitHub AdvisoriesGHSA-h5rp-69cv-hv5v 6.6

A flaw was found in GIMP. An integer overflow vulnerability exists in the GIMP "Despeckle" plug...

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.

Record
GHSA-h5rp-69cv-hv5v
CVSS 3.1
6.6 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Weakness
CWE-190, CWE-787
Updated
2026-11-02
NVD 6.1

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.

Record
CVE-2025-6035
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-190
Updated
2026-11-05
OSV 6.1

Gimp: gimp integer overflow

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.

Record
CVE-2025-6035
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
Weakness
CWE-190
Updated
2026-11-07
OSVDEBIAN-CVE-2025-6035 6.1

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.

Record
DEBIAN-CVE-2025-6035
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVOESA-2025-1832 6.6

gimp security update

The GIMP is an image composition and editing program, which can be used for creating logos and other graphics for Web pages. The GIMP offers many tools and filters, and provides a large image manipulation toolbox, including channel operations and layers, effects, subpixel imaging and antialiasing, and conversions, together with multilevel undo. The GIMP offers a scripting facility, but many of the included scripts rely on fonts that we cannot distribute.

Security Fix(es):

A vulnerability was found in GIMP (Image Processing Software) (affected version not known) and classified as critical.Using CWE to declare the problem leads to CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.Impacted is confidentiality, integrity, and availability.There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.(CVE-2025-6035)

Record
OESA-2025-1832
CVSS 3.1
6.6 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Updated
2026-11-02
OSVOESA-2025-1833 6.6

gimp security update

The GIMP is an image composition and editing program, which can be used for creating logos and other graphics for Web pages. The GIMP offers many tools and filters, and provides a large image manipulation toolbox, including channel operations and layers, effects, subpixel imaging and antialiasing, and conversions, together with multilevel undo. The GIMP offers a scripting facility, but many of the included scripts rely on fonts that we cannot distribute.

Security Fix(es):

A vulnerability was found in GIMP (Image Processing Software) (affected version not known) and classified as critical.Using CWE to declare the problem leads to CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.Impacted is confidentiality, integrity, and availability.There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.(CVE-2025-6035)

Record
OESA-2025-1833
CVSS 3.1
6.6 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Updated
2026-11-02
OSVOESA-2025-1834 6.6

gimp security update

The GIMP is an image composition and editing program, which can be used for creating logos and other graphics for Web pages. The GIMP offers many tools and filters, and provides a large image manipulation toolbox, including channel operations and layers, effects, subpixel imaging and antialiasing, and conversions, together with multilevel undo. The GIMP offers a scripting facility, but many of the included scripts rely on fonts that we cannot distribute.

Security Fix(es):

A vulnerability was found in GIMP (Image Processing Software) (affected version not known) and classified as critical.Using CWE to declare the problem leads to CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.Impacted is confidentiality, integrity, and availability.There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.(CVE-2025-6035)

Record
OESA-2025-1834
CVSS 3.1
6.6 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Updated
2026-11-02
OSVOESA-2026-1208 7.8

gimp security update

The GIMP is an image composition and editing program, which can be used for creating logos and other graphics for Web pages. The GIMP offers many tools and filters, and provides a large image manipulation toolbox, including channel operations and layers, effects, subpixel imaging and antialiasing, and conversions, together with multilevel undo. The GIMP offers a scripting facility, but many of the included scripts rely on fonts that we cannot distribute.

Security Fix(es):

GIMP PNM File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of PNM files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28273.(CVE-2025-14422)

GIMP JP2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of JP2 files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28248.(CVE-2025-14425)

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.(CVE-2025-6035)

Record
OESA-2026-1208
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2025-6035 6.1

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.

Record
UBUNTU-CVE-2025-6035
CVSS 3.1
6.1 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVSUSE-SU-2025:02367-1 No score

Security update for gimp

This update for gimp fixes the following issues:

  • CVE-2025-6035: Fixed Integer Overflow or Wraparound in GIMP Despeckle Filter (bsc#1244536).
Record
SUSE-SU-2025:02367-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
gimp
Debian:12
before 2.10.34-1+deb12u4, plus listed versions
2.10.34-12.10.34-1+deb12u12.10.34-1+deb12u22.10.34-1+deb12u3
2.10.34-1+deb12u4
gimp
Debian:13
before 3.0.4-2
3.0.4-2
gimp
Debian:14
before 3.0.4-2
3.0.4-2
gimp
Debian:11
From an advisory covering 7 CVEs
before 2.10.22-4+deb11u3, plus listed versions
2.10.22-42.10.22-4+deb11u12.10.22-4+deb11u2
2.10.22-4+deb11u3
gimp
Debian:12
From an advisory covering 3 CVEs
before 2.10.34-1+deb12u4, plus listed versions
2.10.34-12.10.34-1+deb12u12.10.34-1+deb12u22.10.34-1+deb12u3
2.10.34-1+deb12u4
gimp
openEuler:24.03-LTS
before 3.0.2-3.oe2403
3.0.2-3.oe2403
gimp
openEuler:24.03-LTS-SP1
before 3.0.2-3.oe2403sp1
3.0.2-3.oe2403sp1
gimp
openEuler:24.03-LTS-SP2
before 3.0.2-3.oe2403sp2
3.0.2-3.oe2403sp2
gimp
openEuler:20.03-LTS-SP4
From an advisory covering 3 CVEs
before 2.10.6-17.oe2003sp4
2.10.6-17.oe2003sp4
gimp
SUSE:Linux Enterprise Module for Package Hub 15 SP6
before 2.10.30-150400.3.23.1
2.10.30-150400.3.23.1
Show 9 moreShow less
Affected packages
PackageAffectedFixed
gimp
SUSE:Linux Enterprise Module for Package Hub 15 SP7
before 2.10.30-150400.3.23.1
2.10.30-150400.3.23.1
gimp
SUSE:Linux Enterprise Workstation Extension 15 SP6
before 2.10.30-150400.3.23.1
2.10.30-150400.3.23.1
gimp
SUSE:Linux Enterprise Workstation Extension 15 SP7
before 2.10.30-150400.3.23.1
2.10.30-150400.3.23.1
gimp
openSUSE:Leap 15.6
before 2.10.30-150400.3.23.1
2.10.30-150400.3.23.1
gimp
Ubuntu:Pro:16.04:LTS
before 2.8.16-1ubuntu1.1+esm3, plus listed versions
2.8.14-1ubuntu22.8.14-1.2ubuntu12.8.16-1ubuntu12.8.16-1ubuntu1.12.8.16-1ubuntu1.1+esm12.8.16-1ubuntu1.1+esm2
2.8.16-1ubuntu1.1+esm3
gimp
Ubuntu:Pro:18.04:LTS
before 2.8.22-1ubuntu0.1~esm3, plus listed versions
2.8.20-12.8.20-1.12.8.20-22.8.22-12.8.22-1ubuntu0.1~esm12.8.22-1ubuntu0.1~esm2
2.8.22-1ubuntu0.1~esm3
gimp
Ubuntu:Pro:20.04:LTS
before 2.10.18-1ubuntu0.1+esm3, plus listed versions
2.10.8-22.10.14-22.10.14-2build12.10.14-2ubuntu12.10.14-3
Show 4 moreShow less
2.10.18-12.10.18-1ubuntu0.12.10.18-1ubuntu0.1+esm12.10.18-1ubuntu0.1+esm2
2.10.18-1ubuntu0.1+esm3
gimp
Ubuntu:Pro:22.04:LTS
before 2.10.30-1ubuntu0.1+esm3, plus listed versions
2.10.24-22.10.28-12.10.30-12.10.30-1build12.10.30-1ubuntu0.12.10.30-1ubuntu0.1+esm12.10.30-1ubuntu0.1+esm2
2.10.30-1ubuntu0.1+esm3
gimp
Ubuntu:Pro:24.04:LTS
before 2.10.36-3ubuntu0.24.04.1+esm3, plus listed versions
2.10.34-12.10.36-12.10.36-22.10.36-3build22.10.36-3build32.10.36-3ubuntu0.24.04.12.10.36-3ubuntu0.24.04.1+esm12.10.36-3ubuntu0.24.04.1+esm2
2.10.36-3ubuntu0.24.04.1+esm3

History

History
RecordedChangedSources
affectedCVE List, EUVD, NVD, OSV
facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-6035 is a medium vulnerability (CVSS 6.1) in Gimp, published June 13, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.59%, the 48th percentile. Fixed in gimp 2.10.34-1+deb12u4.

References

Show 16 moreShow less
MoveEnter Open