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.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6035.json"
}{
"cpe": "cpe:2.3:a:gimp:gimp:2.8.0:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "2.8.0"
},
{
"last_affected": "2.8.0"
}
],
"source": "CPE_STRING"
}
{
"cpe": "cpe:2.3:a:gimp:gimp:2.8.0:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.0.4"
},
{
"introduced": "2.8.0"
},
{
"last_affected": "2.8.0"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_STRING"
]
}