cve.bz

CVE-2016-3716 (ImageTragick)

3.3 lowExploitEPSS 11%Fix available

Known as ImageTragick

Low (3.3). EPSS 11% estimated probability of exploitation activity in the next 30 days.

On this page
The MSL coder in ImageMagick before 6.9.3-10 and 7.x before 7.0.1-1 allows remote attackers to move arbitrary files via a crafted image.

Severity

CVSS 3.0

3.3 low
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
EPSS
11% (unchanged from 11% a week ago; 11% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-264 Permissions, Privileges, and Access Controls
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-3716 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-3716?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-3716?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-3716 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux15.10
canonical:ubuntu_linux16.04
imagemagick:imagemagickthrough 6.9.3-9
imagemagick:imagemagick7.0.0-0
imagemagick:imagemagick7.0.1-0
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_hpc_node6.0
redhat:enterprise_linux_hpc_node7.0
redhat:enterprise_linux_hpc_node_eus7.2
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.2
redhat:enterprise_linux_server_eus7.2
redhat:enterprise_linux_server_supplementary_eus6.7z
redhat:enterprise_linux_workstation6.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7graphicsmagick1.3.16-1.1+deb7u1DLA-484-1
Debian7imagemagick8:6.7.7.10-5+deb7u5DLA-486-1
Debian8graphicsmagick1.3.20-3+deb8u3DLA-1401-1
Debian8imagemagick8:6.8.9.9-5+deb8u2DSA-3580-1
Debian12, 13, 14graphicsmagick1.3.24-1DEBIAN-CVE-2016-3716
Debian12, 13, 14imagemagick8:6.9.6.2+dfsg-2DEBIAN-CVE-2016-3716
Ubuntu14.04:LTSgraphicsmagick1.3.18-1ubuntu3.1UBUNTU-CVE-2016-3716
Ubuntu14.04:LTSimagemagick8:6.7.7.10-6ubuntu3.1UBUNTU-CVE-2016-3716 USN-2990-1
Ubuntu16.04:LTSgraphicsmagick1.3.23-1ubuntu0.1UBUNTU-CVE-2016-3716
Ubuntu16.04:LTSimagemagick8:6.8.9.9-7ubuntu5.1UBUNTU-CVE-2016-3716 USN-2990-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moreImageMagick, ImageMagick-c++, ImageMagick-doc and 4 more0:6.7.2.7-4.el6_7RHSA-2016:0726
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreImageMagick, ImageMagick-c++, ImageMagick-doc and 4 more0:6.7.8.9-13.el7_2RHSA-2016:0726
SUSELinux Enterprise Desktop 12, Linux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 and 7 moreImageMagick6.8.8.1-19.1SUSE-SU-2016:1260-1
SUSELinux Enterprise Server 11 SP2-LTSS, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 6 moreImageMagick6.4.3.6-7.34.1SUSE-SU-2016:1275-1
openSUSETumbleweedImageMagick6.9.6.6-1.1openSUSE-SU-2024:10040-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6ImageMagick-0:6.7.2.7-4.el6_7Fixed 2016-05-09RHSA-2016:0726
Red Hat Enterprise Linux 7ImageMagick-0:6.7.8.9-13.el7_2Fixed 2016-05-09RHSA-2016:0726
Red Hat Enterprise Linux 5ImageMagickWill not fix
Red Hat OpenShift Enterprise 2ImageMagickAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-3716.

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET WEB_SERVER ImageMagick CVE-2016-3716 Move File Inbound (msl: + mvg) sid 2022793

References

Check your stackJSON