{"id":"UBUNTU-CVE-2025-6035","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-03-13T17:51:47.591211Z","published":"2025-06-13T16:15:00Z","related":["USN-8082-1"],"upstream":["CVE-2025-6035"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-6035"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-6035"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/gimp/-/issues/13518"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2025-6035"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2372515"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8082-1"}],"affected":[{"package":{"name":"gimp","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gimp@2.8.16-1ubuntu1.1+esm3?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.16-1ubuntu1.1+esm3"}]}],"versions":["2.8.14-1ubuntu2","2.8.14-1.2ubuntu1","2.8.16-1ubuntu1","2.8.16-1ubuntu1.1","2.8.16-1ubuntu1.1+esm1","2.8.16-1ubuntu1.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.8.16-1ubuntu1.1+esm3"},{"binary_name":"gimp-data","binary_version":"2.8.16-1ubuntu1.1+esm3"},{"binary_name":"libgimp2.0","binary_version":"2.8.16-1ubuntu1.1+esm3"},{"binary_name":"libgimp2.0-dev","binary_version":"2.8.16-1ubuntu1.1+esm3"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6035.json"}},{"package":{"name":"gimp","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/gimp@2.8.22-1ubuntu0.1~esm3?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.22-1ubuntu0.1~esm3"}]}],"versions":["2.8.20-1","2.8.20-1.1","2.8.20-2","2.8.22-1","2.8.22-1ubuntu0.1~esm1","2.8.22-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.8.22-1ubuntu0.1~esm3"},{"binary_name":"gimp-data","binary_version":"2.8.22-1ubuntu0.1~esm3"},{"binary_name":"libgimp2.0","binary_version":"2.8.22-1ubuntu0.1~esm3"},{"binary_name":"libgimp2.0-dev","binary_version":"2.8.22-1ubuntu0.1~esm3"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6035.json"}},{"package":{"name":"gimp","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/gimp@2.10.18-1ubuntu0.1+esm3?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.18-1ubuntu0.1+esm3"}]}],"versions":["2.10.8-2","2.10.14-2","2.10.14-2build1","2.10.14-2ubuntu1","2.10.14-3","2.10.18-1","2.10.18-1ubuntu0.1","2.10.18-1ubuntu0.1+esm1","2.10.18-1ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.10.18-1ubuntu0.1+esm3"},{"binary_name":"gimp-data","binary_version":"2.10.18-1ubuntu0.1+esm3"},{"binary_name":"libgimp2.0","binary_version":"2.10.18-1ubuntu0.1+esm3"},{"binary_name":"libgimp2.0-dev","binary_version":"2.10.18-1ubuntu0.1+esm3"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6035.json"}},{"package":{"name":"gimp","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/gimp@2.10.30-1ubuntu0.1+esm3?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.30-1ubuntu0.1+esm3"}]}],"versions":["2.10.24-2","2.10.28-1","2.10.30-1","2.10.30-1build1","2.10.30-1ubuntu0.1","2.10.30-1ubuntu0.1+esm1","2.10.30-1ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.10.30-1ubuntu0.1+esm3"},{"binary_name":"gimp-data","binary_version":"2.10.30-1ubuntu0.1+esm3"},{"binary_name":"libgimp2.0","binary_version":"2.10.30-1ubuntu0.1+esm3"},{"binary_name":"libgimp2.0-dev","binary_version":"2.10.30-1ubuntu0.1+esm3"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6035.json"}},{"package":{"name":"gimp","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/gimp@2.10.36-3ubuntu0.24.04.1+esm3?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.36-3ubuntu0.24.04.1+esm3"}]}],"versions":["2.10.34-1","2.10.36-1","2.10.36-2","2.10.36-3build2","2.10.36-3build3","2.10.36-3ubuntu0.24.04.1","2.10.36-3ubuntu0.24.04.1+esm1","2.10.36-3ubuntu0.24.04.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"gimp","binary_version":"2.10.36-3ubuntu0.24.04.1+esm3"},{"binary_name":"gimp-data","binary_version":"2.10.36-3ubuntu0.24.04.1+esm3"},{"binary_name":"libgimp2.0-dev","binary_version":"2.10.36-3ubuntu0.24.04.1+esm3"},{"binary_name":"libgimp2.0t64","binary_version":"2.10.36-3ubuntu0.24.04.1+esm3"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6035.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}