Description
The ReadXWDImage function in coders\xwd.c in ImageMagick 7.0.5-6 has a memory leak vulnerability that can cause memory exhaustion via a crafted length (number of color-map entries) field in the header of an XWD file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | imagemagick | 8:6.9.7.4+dfsg-7 | — |
| Debian 13 | imagemagick | 8:6.9.7.4+dfsg-7 | — |
| Debian 12 | imagemagick | 8:6.9.7.4+dfsg-7 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | imagemagick | No fix yet | — |
| Ubuntu Pro 14.04 LTS | imagemagick | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | ImageMagick +5 | 6.9.10.68-3.el7 | RHSA-2020:1180 |
| RHEL 7 | autotrace +1 | 0.31.1-38.el7 | RHSA-2020:1180 |
| RHEL 7 | emacs +5 | 1:24.3-23.el7 | RHSA-2020:1180 |
| RHEL 7 | inkscape +2 | 0.92.2-3.el7 | RHSA-2020:1180 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | ImageMagick | 6.8.8.1-71.42.1 | SUSE-SU-2018:0581-1 |
| SLES 12 SP2 | ImageMagick | 6.8.8.1-71.42.1 | SUSE-SU-2018:0581-1 |
| SLES 11 SP4 | ImageMagick | 6.4.3.6-7.78.34.1 | SUSE-SU-2018:0486-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | ImageMagick | 6.8.8.1-71.42.1 | SUSE-SU-2018:0581-1 |
| SLES for SAP 12 SP2 | ImageMagick | 6.8.8.1-71.42.1 | SUSE-SU-2018:0581-1 |
| SLES for SAP 11 SP4 | ImageMagick | 6.4.3.6-7.78.34.1 | SUSE-SU-2018:0486-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | ImageMagick +5 | 6.9.10.68-3.amzn2.0.1 | ALAS2-2024-2432, ALAS2-2020-1497 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | ImageMagick +5 | 6.9.10.68-3.el7 | ELSA-2020-1180 |
| Oracle Linux 7 | autotrace +1 | 0.31.1-38.el7 | ELSA-2020-1180 |
| Oracle Linux 7 | emacs +5 | 1:24.3-23.el7 | ELSA-2020-1180 |
| Oracle Linux 7 | inkscape +2 | 0.92.2-3.el7 | ELSA-2020-1180 |
Advisories 7
- RHSA-2020:1180 Red Hat Security Advisory: ImageMagick security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- SUSE-SU-2018:0486-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0581-1 Security update for ImageMagick SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2023-2157 ImageMagick: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Mar 19, 2024
- ALAS2-2024-2432 Important: ImageMagick security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 1, 2024
- ALAS2-2020-1497 Moderate: ImageMagick security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 8, 2022
- ELSA-2020-1180 Moderate: ImageMagick security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Apr 6, 2020