CVE-2016-3718
The (1) HTTP and (2) FTP coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to conduct server-side request forgery (SSRF) attacks via a crafted image.
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2021-11-03). If you run an affected version, patch or mitigate now.
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
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 | graphicsmagick | Fixed | 1.3.23-1ubuntu0.1 | UBUNTU-CVE-2016-3718 |
| Ubuntu 16.04 | imagemagick | Fixed | 8:6.8.9.9-7ubuntu5.1 | UBUNTU-CVE-2016-3718 |
| Ubuntu 14.04 | graphicsmagick | Fixed | 1.3.18-1ubuntu3.1 | UBUNTU-CVE-2016-3718 |
| Ubuntu 14.04 | imagemagick | Fixed | 8:6.7.7.10-6ubuntu3.1 | UBUNTU-CVE-2016-3718 |
| Debian 14 | graphicsmagick | Fixed | 1.3.24-1 | DEBIAN-CVE-2016-3718 |
| Debian 14 | imagemagick | Fixed | 8:6.9.6.2+dfsg-2 | DEBIAN-CVE-2016-3718 |
| Debian 13 | graphicsmagick | Fixed | 1.3.24-1 | DEBIAN-CVE-2016-3718 |
| Debian 13 | imagemagick | Fixed | 8:6.9.6.2+dfsg-2 | DEBIAN-CVE-2016-3718 |
| Debian 12 | graphicsmagick | Fixed | 1.3.24-1 | DEBIAN-CVE-2016-3718 |
| Debian 12 | imagemagick | Fixed | 8:6.9.6.2+dfsg-2 | DEBIAN-CVE-2016-3718 |
| Red Hat Enterprise Linux 7 | ImageMagick | Fixed | 0:6.7.8.9-13.el7_2 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 7 | ImageMagick-c++ | Fixed | 0:6.7.8.9-13.el7_2 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 7 | ImageMagick-c++-devel | Fixed | 0:6.7.8.9-13.el7_2 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 7 | ImageMagick-devel | Fixed | 0:6.7.8.9-13.el7_2 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 7 | ImageMagick-doc | Fixed | 0:6.7.8.9-13.el7_2 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 7 | ImageMagick-perl | Fixed | 0:6.7.8.9-13.el7_2 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 6 | ImageMagick | Fixed | 0:6.7.2.7-4.el6_7 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Fixed | 0:6.7.2.7-4.el6_7 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Fixed | 0:6.7.2.7-4.el6_7 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Fixed | 0:6.7.2.7-4.el6_7 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Fixed | 0:6.7.2.7-4.el6_7 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Fixed | 0:6.7.2.7-4.el6_7 | RHSA-2016:0726 |
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix Will not fix |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00028.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00051.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-2990-1 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00025.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00024.html (vendor-advisory)
- https://security.gentoo.org/glsa/201611-21 (vendor-advisory)
References
- http://git.imagemagick.org/repos/ImageMagick/blob/a01518e08c840577cabd7d3ff291a9ba735f7276/ChangeLog
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00028.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- https://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=29588
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00051.html
- http://www.ubuntu.com/usn/USN-2990-1
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00025.html
- http://www.securityfocus.com/archive/1/538378/100/0/threaded
- https://www.exploit-db.com/exploits/39767/
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00024.html
- https://lists.debian.org/debian-lts-announce/2018/06/msg00009.html
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- http://www.openwall.com/lists/oss-security/2016/05/03/18
- https://security.gentoo.org/glsa/201611-21
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00032.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.