CVE-2025-10922: GIMP DCM File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
GIMP DCM 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 DCM 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-27863.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/gimpto a version that resolves this vulnerability.Fixed in 2.10.22-4+deb11u3Fixed in 2.10.34-1+deb12u4Fixed in 3.0.4-3+deb13u1Fixed in 3.0.4-6.1 - Upgrade
Upgrade
ubuntu/gimpto a version that resolves this vulnerability.Fixed in 2.8.16-1ubuntu1.1+esm1 - Upgrade
Upgrade
ubuntu/gimpto a version that resolves this vulnerability.Fixed in 2.8.22-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/gimpto a version that resolves this vulnerability.Fixed in 2.10.18-1ubuntu0.1+esm1 - Upgrade
Upgrade
ubuntu/gimpto a version that resolves this vulnerability.Fixed in 2.10.30-1ubuntu0.1+esm1 - Upgrade
Upgrade
ubuntu/gimpto a version that resolves this vulnerability.Fixed in 2.10.36-3ubuntu0.24.04.1+esm1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-10922?
CVE-2025-10922 has a high severity rating due to its potential for remote code execution.
How do I fix CVE-2025-10922?
To fix CVE-2025-10922, update GIMP to the latest version that addresses this vulnerability.
What effects does CVE-2025-10922 have on GIMP?
CVE-2025-10922 allows remote attackers to execute arbitrary code on affected GIMP installations.
Is user interaction required to exploit CVE-2025-10922?
Yes, user interaction is required as the target must visit a malicious file to exploit CVE-2025-10922.
What versions of GIMP are affected by CVE-2025-10922?
CVE-2025-10922 affects certain installations of GIMP, but a specific version range is not detailed.