CVE-2016-4564
The DrawImage function in MagickCore/draw.c in ImageMagick before 6.9.4-0 and 7.x before 7.0.1-2 makes an incorrect function call in attempting to locate the next token, which allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted file.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Red Hat 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 | Fixed | 8:6.8.9.9-7ubuntu5.2 | UBUNTU-CVE-2016-4564 |
| Ubuntu 14.04 | imagemagick | Fixed | 8:6.7.7.10-6ubuntu3.2 | UBUNTU-CVE-2016-4564 |
| Debian 14 | imagemagick | Fixed | 8:6.9.6.2+dfsg-2 | DEBIAN-CVE-2016-4564 |
| Debian 13 | imagemagick | Fixed | 8:6.9.6.2+dfsg-2 | DEBIAN-CVE-2016-4564 |
| Debian 12 | imagemagick | Fixed | 8:6.9.6.2+dfsg-2 | DEBIAN-CVE-2016-4564 |
| Red Hat Enterprise Linux 7 | ImageMagick | Under investigation | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++ | Under investigation | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++-devel | Under investigation | ||
| Red Hat Enterprise Linux 7 | ImageMagick-devel | Under investigation | ||
| Red Hat Enterprise Linux 7 | ImageMagick-doc | Under investigation | ||
| Red Hat Enterprise Linux 7 | ImageMagick-perl | Under investigation | ||
| Red Hat Enterprise Linux 6 | ImageMagick | Under investigation | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Under investigation | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Under investigation | ||
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Under investigation | ||
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Under investigation | ||
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Under investigation | ||
| Red Hat Enterprise Linux 5 | ImageMagick | Under investigation | ||
| Alpine Linux 3.3 | imagemagick | Fixed | 6.9.6.8-r0 | ALPINE-CVE-2016-4564 |
| Alpine Linux 3.2 | imagemagick | Fixed | 6.9.6.8-r0 | ALPINE-CVE-2016-4564 |
References
- https://github.com/ImageMagick/ImageMagick/commit/726812fa2fa7ce16bcf58f6e115f65427a1c0950
- http://www.imagemagick.org/script/changelog.php
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
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.