{"id":"CVE-2025-6035","summary":"Gimp: gimp integer overflow","details":"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.","modified":"2026-08-12T03:30:17.845046830Z","published":"2025-06-13T15:21:17.439Z","related":["SUSE-SU-2025:02367-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6035.json","cna_assigner":"redhat","cwe_ids":["CWE-190"]},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00022.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-6035"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6035.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6035"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2372515"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/gimp/-/issues/13518"},{"type":"PACKAGE","url":"https://gitlab.gnome.org/GNOME/gimp/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gnome/gimp","events":[{"introduced":"5e9f1dd0ea921ee2db4ae1788495ccea676b1ad8"},{"last_affected":"5e9f1dd0ea921ee2db4ae1788495ccea676b1ad8"}],"database_specific":{"cpe":"cpe:2.3:a:gimp:gimp:2.8.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.8.0"},{"last_affected":"2.8.0"}],"source":"CPE_STRING"}},{"type":"GIT","repo":"https://gitlab.gnome.org/gnome/gimp","events":[{"introduced":"5e9f1dd0ea921ee2db4ae1788495ccea676b1ad8"},{"fixed":"c1901c5be644ab8dcaf779b1f383bf5370bc90c6"}],"database_specific":{"source":["AFFECTED_FIELD","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"}]}}],"versions":["2.8.0","GIMP_2_8_0","GIMP_3_0_2","GIMP_3_0_0","GIMP_3_0_0_RC3","GIMP_3_0_0_RC2","GIMP_3_0_0_RC1","GIMP_2_99_18","GIMP_2_99_16","GIMP_2_99_14","GIMP_2_99_12","GIMP_2_99_10","GIMP_2_99_8","GIMP_2_99_6","GIMP_2_99_4","GIMP_2_99_2","GIMP_2_10_2","GIMP_2_10_0","GIMP_2_10_0_RC2","GIMP_2_10_0_RC1","GIMP_2_9_8","GIMP_2_9_6","GIMP_2_9_2","soc-2012-unified-transform-after-gsoc","soc-2012-unified-transform-before-gsoc"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-6035.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H"}]}