CVE-2023-44441
High · 7.8CVSS
7.8
EPSS
27.3%
Published
May 3, 2024
CISA due date
—
Cloudanix analysis
A bug in the GIMP image editor can let attackers take over your computer if you open a specially made image file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-based buffer overflow in DDS file parser allows arbitrary code execution within the GIMP process context due to missing length validation on user-supplied data.
Why it matters to the business
Attackers can fully compromise workstations used for image editing, enabling theft of sensitive files, deployment of malware, or lateral movement with moderate urgency given stable exploit likelihood and widespread use of GIMP in creative workflows.
How an attack unfolds
An attacker creates a specially crafted DDS image containing oversized data, delivers it via email, download link, or malicious webpage, and waits for the victim to open the file in GIMP; the missing bounds check during parsing overflows the heap buffer and redirects execution to attacker-controlled code.
How to fix it
Upgrade gnome/gimp to the commit 1651e6e767965cf055e05d13e075095d226f1c66 or later; rebuild from source or obtain a package containing this fix. Until updated, avoid opening untrusted DDS files.
How to confirm the fix worked
Confirm the installed GIMP binary or source tree contains commit 1651e6e767965cf055e05d13e075095d226f1c66; re-test parsing of known-malformed DDS samples and verify no crash or unexpected memory writes occur.
Typical attack path
- Craft malicious DDS file with oversized pixel or header data
- Host or send the file to the target (web, email, USB)
- Victim opens the file in vulnerable GIMP installation
- Parser copies unchecked data into heap buffer
- Overflow corrupts heap metadata and achieves code execution
How to detect it
Review GIMP crash logs and system process-creation events immediately after DDS files are opened; look for unexpected child processes or memory-corruption indicators in application logs.
What your security team should do
- Immediately update all GIMP installations to the fixed commit
- Block or sandbox GIMP when handling files from untrusted sources
- Add GIMP to the software inventory and patch-management process
- Monitor for new exploit code targeting this DDS parser flaw
The record
GIMP DDS 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 DDS 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-22093.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:9 | gimp | 0 | 2:2.99.8-4.el9_5 |
| AlmaLinux:9 | gimp | 0 | 2:2.99.8-4.el9_6 |
| AlmaLinux:9 | gimp | 0 | 2:2.99.8-4.el9_3 |
| AlmaLinux:9 | gimp-libs | 0 | 2:2.99.8-4.el9_5 |
| AlmaLinux:9 | gimp-libs | 0 | 2:2.99.8-4.el9_6 |
| AlmaLinux:9 | gimp-libs | 0 | 2:2.99.8-4.el9_3 |
| Debian:10 | gimp-dds | 0 | 3.0.1-1+deb10u1 |
| Debian:11 | gimp | 0 | 2.10.22-4+deb11u1 |
| Debian:12 | gimp | 0 | 2.10.34-1+deb12u1 |
| Debian:13 | gimp | 0 | 2.10.36-1 |
| Debian:14 | gimp | 0 | 2.10.36-1 |
| Mageia:8 | gegl | 0 | 0.4.38-1.mga8 |
| Mageia:8 | gimp | 0 | 2.10.36-1.mga8 |
| Mageia:9 | gimp | 0 | 2.10.36-1.mga9 |
| Red Hat:enterprise_linux:9::appstream | gimp | 0 | 2:2.99.8-4.el9_3 |
| Red Hat:enterprise_linux:9::appstream | gimp-debuginfo | 0 | 2:2.99.8-4.el9_3 |
| Red Hat:enterprise_linux:9::appstream | gimp-debugsource | 0 | 2:2.99.8-4.el9_3 |
| Red Hat:enterprise_linux:9::appstream | gimp-devel-tools-debuginfo | 0 | 2:2.99.8-4.el9_3 |
| Red Hat:enterprise_linux:9::appstream | gimp-libs | 0 | 2:2.99.8-4.el9_3 |
| Red Hat:enterprise_linux:9::appstream | gimp-libs-debuginfo | 0 | 2:2.99.8-4.el9_3 |
| Red Hat:rhel_eus:9.0::appstream | gimp | 0 | 2:2.99.8-3.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | gimp-debuginfo | 0 | 2:2.99.8-3.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | gimp-debugsource | 0 | 2:2.99.8-3.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | gimp-devel-tools-debuginfo | 0 | 2:2.99.8-3.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | gimp-libs | 0 | 2:2.99.8-3.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | gimp-libs-debuginfo | 0 | 2:2.99.8-3.el9_0 |
| Red Hat:rhel_eus:9.2::appstream | gimp | 0 | 2:2.99.8-4.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | gimp-debuginfo | 0 | 2:2.99.8-4.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | gimp-debugsource | 0 | 2:2.99.8-4.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | gimp-devel-tools-debuginfo | 0 | 2:2.99.8-4.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | gimp-libs | 0 | 2:2.99.8-4.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | gimp-libs-debuginfo | 0 | 2:2.99.8-4.el9_2 |
| Rocky Linux:9 | gimp | 0 | 2:2.99.8-4.el9_3 |
| Rocky Linux:9 | gimp | 0 | 2:2.99.8-4.el9_6 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP4 | gimp | 0 | 2.10.30-150400.3.11.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP5 | gimp | 0 | 2.10.30-150400.3.11.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP4 | gimp | 0 | 2.10.30-150400.3.11.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP5 | gimp | 0 | 2.10.30-150400.3.11.1 |
| Ubuntu:20.04:LTS | gimp | 0 | 2.10.18-1ubuntu0.1 |
| Ubuntu:20.04:LTS | gimp-dds | 0 | No fix |
| Ubuntu:20.04:LTS | gimp-dds | 0 | 3.0.1-1+deb10u1build0.20.04.1 |
| Ubuntu:22.04:LTS | gimp | 0 | 2.10.30-1ubuntu0.1 |
| Ubuntu:22.04:LTS | gimp-dds | 0 | No fix |
| Ubuntu:22.04:LTS | gimp-dds | 0 | 3.0.1-1+deb10u1build0.22.04.1 |
| Ubuntu:23.10 | gimp | 0 | 2.10.34-1ubuntu0.23.10.1 |
| Ubuntu:24.04:LTS | gimp | 0 | 2.10.36-1 |
| Ubuntu:Pro:16.04:LTS | gimp | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | gimp-dds | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | gimp-dds | 0 | 3.0.1-1+deb10u1build0.16.04.1~esm1 |
| Ubuntu:Pro:18.04:LTS | gimp | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | gimp-dds | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | gimp-dds | 0 | 3.0.1-1+deb10u1build0.18.04.1~esm1 |
| openSUSE:Leap 15.4 | gimp | 0 | 2.10.30-150400.3.11.1 |
| openSUSE:Leap 15.5 | gimp | 0 | 2.10.30-150400.3.11.1 |
Related vulnerabilities
- CVE-2025-14422 GIMP PNM File Parsing Integer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-14424 GIMP XCF File Parsing Use-After-Free Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-14423 GIMP LBM File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-14425 GIMP JP2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-10923 GIMP WBMP File Parsing Integer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-10934 GIMP XWD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-10925 GIMP ILBM File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. Also affects gimp
- CVE-2025-10924 GIMP FF File Parsing Integer Overflow Remote Code Execution Vulnerability. Also affects gimp