ImageMagick: Insufficient shell characters filtering
Published May 5, 2016 ·Due Sep 30, 2024
8.4
HIGHCVSS 3.1
EPSS 97.48%
Description
The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allow remote attackers to execute arbitrary code via shell metacharacters in a crafted image, aka "ImageTragick."
Affected products
No data.
Configuration 1
- ≤ 6.9.3-9
- 7.0.0-0
- 7.0.1-0
Configuration 2
- 12.04
- 14.04
- 15.10
- 16.04
- 8.0
- 9.0
- 42.1
- 13.2
- 12
-
- Version 12.04StatusaffectedConstraints-
- Version 14.04StatusaffectedConstraints-
- Version 15.10StatusaffectedConstraints-
- Version 16.04StatusaffectedConstraints-
- Version
-
- Version 8.0StatusaffectedConstraints-
- Version 9.0StatusaffectedConstraints-
- Version
-
- Version 0StatusaffectedConstraints<=6.9.3-9
- Version 7.0.0-0StatusaffectedConstraints-
- Version 7.0.1-0StatusaffectedConstraints-
- Version
-
- Version 42.1StatusaffectedConstraints-
- Version
-
- Version 13.2StatusaffectedConstraints-
- Version
-
- Version 12StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Canonical | Ubuntu Linux | n/a |
| |||||||||||||||
| Debian | Debian Linux | n/a |
| |||||||||||||||
| ImageMagick | ImageMagick | n/a |
| |||||||||||||||
| openSUSE | Leap | n/a |
| |||||||||||||||
| openSUSE | openSUSE | n/a |
| |||||||||||||||
| Suse | Suse Linux Enterprise Server | n/a |
|
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:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:C/I:C/A:C
Date Added
Sep 9, 2024
Patch Due
Sep 30, 2024
Required Action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
ActiveAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed Sep 7, 2024 · 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 (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 97.48% (0.97485) | 99.90th | v5 (v2026.06.15) |
| Jun 15, 2026 | 97.48% (0.97485) | 99.89th | v5 (v2026.06.15) |
| Mar 17, 2025 | 93.88% (0.93877) | 99.87th | v4 (v2025.03.14) |
| Dec 12, 2024 | 97.38% (0.97377) | 99.94th | v3 (v2023.03.01) |
| Jul 3, 2024 | 96.65% (0.96652) | 99.65th | v3 (v2023.03.01) |
| Jun 4, 2024 | 96.80% (0.96804) | 99.69th | v3 (v2023.03.01) |
| Aug 6, 2023 | 96.93% (0.96926) | 99.58th | v3 (v2023.03.01) |
| May 18, 2023 | 96.86% (0.96863) | 99.50th | v3 (v2023.03.01) |
| May 8, 2023 | 96.94% (0.96942) | 99.54th | v3 (v2023.03.01) |
| Mar 7, 2023 | 96.98% (0.96978) | 99.51th | v3 (v2023.03.01) |
| Mar 6, 2023 | 92.62% (0.92622) | 99.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 92.62% (0.92622) | 99.90th | v2 (v2022.01.01) |
References (35)
- http://git.imagemagick.org/repos/ImageMagick/blob/a01518e08c840577cabd7d3ff291a9ba735f7276/ChangeLog x_refsource_CONFIRMPatch
- 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/msg00041.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://packetstormsecurity.com/files/152364/ImageTragick-ImageMagick-Proof-Of-Concepts.html x_refsource_MISCThird Party AdvisoryVDB Entry
- 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_DEBIANThird Party Advisory
- http://www.debian.org/security/2016/dsa-3746 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.openwall.com/lists/oss-security/2016/05/03/13 mailing-listx_refsource_MLISTMailing List
- http://www.openwall.com/lists/oss-security/2016/05/03/18 mailing-listx_refsource_MLISTMailing List
- 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.rapid7.com/db/modules/exploit/unix/fileformat/imagemagick_delegate x_refsource_MISCThird Party Advisory
- http://www.securityfocus.com/archive/1/538378/100/0/threaded mailing-listx_refsource_BUGTRAQThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/89848 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1035742 vdb-entryx_refsource_SECTRACKThird 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-3714 Vendor Advisory
- https://access.redhat.com/security/vulnerabilities/2296071 x_refsource_CONFIRMThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1332492 x_refsource_CONFIRMIssue Tracking
- https://imagetragick.com/ x_refsource_MISCVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-3714
- 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-3714 government-resourceUS Government Resource
- https://www.cve.org/CVERecord?id=CVE-2016-3714
- https://www.exploit-db.com/exploits/39767/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/39791/ 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_CONFIRMVendor Advisory
- https://www.kb.cert.org/vuls/id/250519 third-party-advisoryx_refsource_CERT-VNThird Party AdvisoryUS Government Resource
Change history (0)
No recorded changes yet.