CVE-2016-3718: ImageMagick Server-Side Request Forgery (SSRF) Vulnerability

Published May 4, 2016
·
Updated

A vulnerability was found in ImageMagick. It is possible to force a HTTP, GET or FTP request from user via a crafted .mvg file.

Other sources

ImageMagick contains an unspecified vulnerability that allows attackers to perform server-side request forgery (SSRF) via a crafted image.

— CISA

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.

Affected Software

97 affected componentsFixes available
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
Canonical Ubuntu Linux=16.04
ImageMagick ImageMagick<=6.9.3-9
ImageMagick ImageMagick=7.0.0-0
ImageMagick ImageMagick=7.0.1-0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Hpc Node=6.0
redhat Enterprise Linux Hpc Node=7.0
redhat Enterprise Linux Hpc Node Eus=7.2
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.2
redhat Enterprise Linux Server Eus=7.2
redhat Enterprise Linux Server Supplementary Eus=6.7z
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
redhat Enterprise Linux Eus=6.7
redhat Enterprise Linux Eus=7.2
redhat Enterprise Linux Eus=7.3
redhat Enterprise Linux Eus=7.4
redhat Enterprise Linux Eus=7.5
redhat Enterprise Linux Eus=7.6
redhat Enterprise Linux Eus=7.7
redhat Enterprise Linux For Ibm Z Systems=6.0_s390x
redhat Enterprise Linux For Ibm Z Systems=7.0_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=6.7_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=7.2_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=7.3_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=7.4_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=7.5_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=7.6_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=7.7_s390x
redhat Enterprise Linux For Power Big Endian=6.0_ppc64
redhat Enterprise Linux For Power Big Endian=7.0_ppc64
redhat Enterprise Linux For Power Big Endian Eus=6.7_ppc64
redhat Enterprise Linux For Power Big Endian Eus=7.2_ppc64
redhat Enterprise Linux For Power Big Endian Eus=7.3_ppc64
redhat Enterprise Linux For Power Big Endian Eus=7.4_ppc64
redhat Enterprise Linux For Power Big Endian Eus=7.5_ppc64
redhat Enterprise Linux For Power Big Endian Eus=7.6_ppc64
redhat Enterprise Linux For Power Big Endian Eus=7.7_ppc64
redhat Enterprise Linux For Power Little Endian=7.0_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=7.2_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=7.3_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=7.4_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=7.5_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=7.6_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=7.7_ppc64le
redhat Enterprise Linux Server Aus=7.3
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Aus=7.7
redhat Enterprise Linux Server From Rhui=6.0
redhat Enterprise Linux Server From Rhui=7.0
redhat Enterprise Linux Server Tus=7.2
redhat Enterprise Linux Server Tus=7.3
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Server Tus=7.7
ImageMagick ImageMagick<6.9.3-10
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Oracle Linux=6
Oracle Linux=7
Oracle Solaris=10
Oracle Solaris=11.3
SUSE Linux Enterprise Debuginfo=11-sp2
SUSE Linux Enterprise Debuginfo=11-sp3
SUSE Linux Enterprise Debuginfo=11-sp4
SUSE Manager=2.1
SUSE Manager Proxy=2.1
SUSE Openstack Cloud=5
openSUSE Leap=42.1
openSUSE openSUSE=13.2
SUSE Linux Enterprise Desktop=12
SUSE Linux Enterprise Desktop=12-sp1
SUSE Linux Enterprise Server=11-sp2
SUSE Linux Enterprise Server=11-sp3
SUSE Linux Enterprise Server=11-sp4
SUSE Linux Enterprise Server=12
SUSE Linux Enterprise Server=12-sp1
SUSE Linux Enterprise Software Development Kit=11-sp4
SUSE Linux Enterprise Software Development Kit=12
SUSE Linux Enterprise Software Development Kit=12-sp1
SUSE Linux Enterprise Workstation Extension=12
SUSE Linux Enterprise Workstation Extension=12-sp1
ImageMagick ImageMagick
debian/graphicsmagick<1.3.24-1
1.3.24-1
debian/graphicsmagick<1.3.24-1
1.3.24-1
debian/graphicsmagick<1.3.24-1
1.3.24-1
debian/imagemagick<8:6.9.6.2+dfsg-2
8:6.9.6.2+dfsg-2
debian/imagemagick<8:6.9.6.2+dfsg-2
8:6.9.6.2+dfsg-2
debian/imagemagick<8:6.9.6.2+dfsg-2
8:6.9.6.2+dfsg-2
debian/graphicsmagick
1.3.16-1.1+deb7u11.3.20-3+deb8u31.3.24-1
debian/imagemagick
8:6.7.7.10-5+deb7u58:6.8.9.9-5+deb8u28:6.9.6.2+dfsg-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.24-1
  2. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.6.2+dfsg-2
  3. Upgrade

    Upgrade debian/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.16-1.1+deb7u1Fixed in 1.3.20-3+deb8u3Fixed in 1.3.24-1
  4. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.7.7.10-5+deb7u5Fixed in 8:6.8.9.9-5+deb8u2Fixed in 8:6.9.6.2+dfsg-2

Event History

May 4, 2016
Data Sourced
via Red Hat·06:46 AM
DescriptionSeverityAffected Software
May 5, 2016
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
06:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:59 PM
DescriptionSeverityAffected Software
Nov 3, 2021
Kev Listed
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
DescriptionAffected Software
Data Sourced
via CISA·12:00 AM
Weakness
Updated
via CISA·12:00 AM
Affected Software
Nov 21, 2024
Updated
via NVD·02:50 AM
RemedyAffected Software
Jan 28, 2025
Updated
via NVD·06:49 PM
RemedyAffected Software
Feb 7, 2025
Updated
via NVD·02:15 PM
SeverityWeaknessAffected Software
Apr 2, 2025
Updated
via NVD·08:16 PM
Affected Software
Apr 12, 2025
Updated
via NVD·10:46 AM
Affected Software
Oct 21, 2025
Updated
via NVD·07:16 PM
Affected Software
Oct 22, 2025
Updated
via NVD·12:15 AM
Affected Software
Event
via NVD·12:15 AM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2016-3718?

CVE-2016-3718 is rated as a moderate severity vulnerability allowing server-side request forgery attacks.

2

How do I fix CVE-2016-3718?

To fix CVE-2016-3718, upgrade ImageMagick to version 6.9.3-10 or later, or 7.0.1-1 or later.

3

What types of software are affected by CVE-2016-3718?

CVE-2016-3718 affects versions of ImageMagick prior to 6.9.3-10 and 7.x prior to 7.0.1-1.

4

What kind of attacks can CVE-2016-3718 enable?

CVE-2016-3718 can enable remote attackers to conduct server-side request forgery (SSRF) attacks via crafted images.

5

Is CVE-2016-3718 an attack vector for all versions of ImageMagick?

CVE-2016-3718 specifically impacts all versions of ImageMagick before 6.9.3-10 and those in the 7.x series before 7.0.1-1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203