CVE-2016-5690
The ReadDCMImage function in DCM reader in ImageMagick before 6.9.4-5 and 7.x before 7.0.1-7 allows remote attackers to have unspecified impact via vectors involving the for statement in computing the pixel scaling table.
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-5690 |
| Ubuntu 14.04 | imagemagick | Fixed | 8:6.7.7.10-6ubuntu3.2 | UBUNTU-CVE-2016-5690 |
| Debian 14 | imagemagick | Fixed | 8:6.9.6.2+dfsg-2 | DEBIAN-CVE-2016-5690 |
| Debian 13 | imagemagick | Fixed | 8:6.9.6.2+dfsg-2 | DEBIAN-CVE-2016-5690 |
| Debian 12 | imagemagick | Fixed | 8:6.9.6.2+dfsg-2 | DEBIAN-CVE-2016-5690 |
| Red Hat Enterprise Linux 7 | ImageMagick | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++ | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-doc | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ImageMagick-perl | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Fix pending Affected | ||
| Red Hat Enterprise Linux 5 | ImageMagick | Under investigation | ||
| Alpine Linux 3.4 | imagemagick | Fixed | 6.9.5.3 | ALPINE-CVE-2016-5690 |
| Alpine Linux 3.3 | imagemagick | Fixed | 6.9.6.8-r0 | ALPINE-CVE-2016-5690 |
| Alpine Linux 3.2 | imagemagick | Fixed | 6.9.6.8-r0 | ALPINE-CVE-2016-5690 |
References
- http://www.securityfocus.com/bid/91283
- https://blog.fuzzing-project.org/46-Various-invalid-memory-reads-in-ImageMagick-WPG%2C-DDS%2C-DCM.html
- https://github.com/ImageMagick/ImageMagick/commit/5511ef530576ed18fd636baa3bb4eda3d667665d
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- https://github.com/ImageMagick/ImageMagick/blob/7.0.1-7/ChangeLog
- https://github.com/ImageMagick/ImageMagick/blob/6.9.4-5/ChangeLog
- http://www.openwall.com/lists/oss-security/2016/06/17/3
- http://www.openwall.com/lists/oss-security/2016/06/14/5
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.