ImageMagick: SSRF vulnerability
Published May 5, 2016 ·Due May 3, 2022
5.5
MEDIUMCVSS 3.1
EPSS 76.74%
Description
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 products
No data.
Configuration 1
- 6.0
- 7.0
- 6.7
- 7.2
- 7.3
- 7.4
- 7.5
- 7.6
- 7.7
- 6.0_s390x
- 7.0_s390x
- 6.7_s390x
- 7.2_s390x
- 7.3_s390x
- 7.4_s390x
- 7.5_s390x
- 7.6_s390x
- 7.7_s390x
- 6.0_ppc64
- 7.0_ppc64
- 6.7_ppc64
- 7.2_ppc64
- 7.3_ppc64
- 7.4_ppc64
- 7.5_ppc64
- 7.6_ppc64
- 7.7_ppc64
- 7.0_ppc64le
- 7.2_ppc64le
- 7.3_ppc64le
- 7.4_ppc64le
- 7.5_ppc64le
- 7.6_ppc64le
- 7.7_ppc64le
- 6.0
- 7.0
- 7.2
- 6.0
- 7.0
- 7.2
- 7.3
- 7.4
- 7.6
- 7.7
- 6.0
- 7.0
- 6.7z
- 7.2
- 7.3
- 7.6
- 7.7
- 6.0
- 7.0
Configuration 2
- < 6.9.3-10
- 7.0.0-0
- 7.0.1-0
Configuration 3
- 12.04
- 14.04
- 15.10
- 16.04
Configuration 4
Configuration 5
- 11
- 11
- 11
- 2.1
- 2.1
- 5
- 42.1
- 13.2
- 12
- 12
- 11
- 11
- 11
- 12
- 12
- 11
- 12
- 12
- 12
- 12
No data.
Red Hat Enterprise Linux 6
ImageMagick-0:6.7.2.7-4.el6_7
Fixed · RHSA-2016:0726
Red Hat Enterprise Linux 7
ImageMagick-0:6.7.8.9-13.el7_2
Fixed · RHSA-2016:0726
Red Hat Enterprise Linux 5
ImageMagick
Will not fix
Red Hat OpenShift Enterprise 2
ImageMagick
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | ImageMagick-0:6.7.2.7-4.el6_7 | Fixed | RHSA-2016:0726 |
| Red Hat Enterprise Linux 7 | ImageMagick-0:6.7.8.9-13.el7_2 | Fixed | RHSA-2016:0726 |
| Red Hat Enterprise Linux 5 | ImageMagick | Will not fix | n/a |
| Red Hat OpenShift Enterprise 2 | ImageMagick | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Details can be found under the resolve tab at https://access.redhat.com/security/vulnerabilities/2296071 Red Hat Enterprise Linux 6 and 7 ================================ As a workaround the /etc/ImageMagick/policy.xml file can be edited to disable processing of MVG, HTTPS, HTTP, URL, FTP, EPHEMERAL, MSL, LABEL, TEXT, SHOW, WIN and PLT commands within image files, simply add the following lines: <policy domain="coder" rights="none" pattern="EPHEMERAL" /> <policy domain="coder" rights="none" pattern="HTTPS" /> <policy domain="coder" rights="none" pattern="HTTP" /> <policy domain="coder" rights="none" pattern="URL" /> <policy domain="coder" rights="none" pattern="FTP" /> <policy domain="coder" rights="none" pattern="MVG" /> <policy domain="coder" rights="none" pattern="MSL" /> <policy domain="coder" rights="none" pattern="TEXT" /> <policy domain="coder" rights="none" pattern="LABEL" /> <policy domain="coder" rights="none" pattern="SHOW" /> <policy domain="coder" rights="none" pattern="WIN" /> <policy domain="coder" rights="none" pattern="PLT" /> <policy domain="path" rights="none" pattern="@*" /> within the policy map stanza: <policymap> ... </policymap> Red Hat Enterprise Linux 5 ========================== In the following folders: /usr/lib64/ImageMagick-6.2.8/modules-Q16/coders/ (64bit package) or /usr/lib/ImageMagick-6.2.8/modules-Q16/coders/ (32bit package) Rename the following files: * mvg.so to mvg.so.bak * msl.so to msl.so.bak * label.so to label.so.bak
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
Date Added
Nov 3, 2021
Patch Due
May 3, 2022
Required Action
Apply updates per vendor instructions.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
ActiveAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Feb 7, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 76.74% (0.76741) | 99.53th | v5 (v2026.06.15) |
| Jun 15, 2026 | 76.90% (0.76897) | 99.49th | v5 (v2026.06.15) |
| May 13, 2026 | 86.94% (0.86935) | 99.44th | v4 (v2025.03.14) |
| Apr 23, 2026 | 78.82% (0.78822) | 99.06th | v4 (v2025.03.14) |
| Jan 30, 2026 | 83.83% (0.83834) | 99.27th | v4 (v2025.03.14) |
| Dec 28, 2025 | 79.25% (0.79254) | 99.02th | v4 (v2025.03.14) |
| Dec 27, 2025 | 87.15% (0.87151) | 99.41th | v4 (v2025.03.14) |
| Oct 28, 2025 | 79.25% (0.79254) | 99.02th | v4 (v2025.03.14) |
| Oct 27, 2025 | 87.15% (0.87151) | 99.41th | v4 (v2025.03.14) |
| Oct 1, 2025 | 79.25% (0.79254) | 99.04th | v4 (v2025.03.14) |
| Jun 19, 2025 | 87.33% (0.87335) | 99.40th | v4 (v2025.03.14) |
| Mar 17, 2025 | 90.38% (0.90382) | 99.59th | v4 (v2025.03.14) |
| Dec 12, 2024 | 92.96% (0.92964) | 99.15th | v3 (v2023.03.01) |
| Dec 22, 2023 | 92.90% (0.92903) | 98.82th | v3 (v2023.03.01) |
| May 8, 2023 | 93.33% (0.93333) | 98.58th | v3 (v2023.03.01) |
| Mar 7, 2023 | 90.87% (0.90868) | 98.23th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.93% (0.03932) | 85.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.93% (0.03932) | 84.43th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.93% (0.03932) | 67.70th | v2 (v2022.01.01) |
References (25)
- http://git.imagemagick.org/repos/ImageMagick/blob/a01518e08c840577cabd7d3ff291a9ba735f7276/ChangeLog x_refsource_CONFIRMPatchVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00024.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00025.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00028.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00032.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00051.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-0726.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.debian.org/security/2016/dsa-3580 vendor-advisoryx_refsource_DEBIANMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2016/05/03/18 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html x_refsource_CONFIRMThird Party Advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html x_refsource_CONFIRMThird Party Advisory
- http://www.securityfocus.com/archive/1/538378/100/0/threaded mailing-listx_refsource_BUGTRAQBroken LinkThird Party AdvisoryVDB Entry
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.440568 vendor-advisoryx_refsource_SLACKWAREThird Party Advisory
- http://www.ubuntu.com/usn/USN-2990-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-3718 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1332802 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2018/06/msg00009.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-3718
- https://security.gentoo.org/glsa/201611-21 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-3718 government-resourceUS Government Resource
- https://www.cve.org/CVERecord?id=CVE-2016-3718
- https://www.exploit-db.com/exploits/39767/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
- https://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=29588 x_refsource_CONFIRMVendor Advisory
- https://www.imagemagick.org/script/changelog.php x_refsource_CONFIRMRelease Notes
Change history (0)
No recorded changes yet.