CVE-2017-11166
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.
What to do
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | imagemagick | Will not fix fix by 0034-2-2-CVE-2017-8352.patch as of 2018-06-06, doesn't appear fixed in jessie not fixing memory leak in trusty and xenial | UBUNTU-CVE-2017-11166 | |
| Ubuntu 14.04 | imagemagick | Fix pending | UBUNTU-CVE-2017-11166 | |
| Debian 14 | imagemagick | Fixed | 8:6.9.7.4+dfsg-7 | DEBIAN-CVE-2017-11166 |
| Debian 13 | imagemagick | Fixed | 8:6.9.7.4+dfsg-7 | DEBIAN-CVE-2017-11166 |
| Debian 12 | imagemagick | Fixed | 8:6.9.7.4+dfsg-7 | DEBIAN-CVE-2017-11166 |
| Red Hat Enterprise Linux 7 | ImageMagick | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-c++ | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-c++-devel | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-devel | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-doc | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | ImageMagick-perl | Fixed | 0:6.9.10.68-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | autotrace | Fixed | 0:0.31.1-38.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | autotrace-devel | Fixed | 0:0.31.1-38.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-common | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-el | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-filesystem | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-nox | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | emacs-terminal | Fixed | 1:24.3-23.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape | Fixed | 0:0.92.2-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape-docs | Fixed | 0:0.92.2-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 7 | inkscape-view | Fixed | 0:0.92.2-3.el7 | RHSA-2020:1180 |
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix Out of support scope |
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.