CVE-2016-3714: ImageMagick Improper Input Validation
ImageMagick · listed in the CISA catalog of actively exploited vulnerabilities since 2024-09-09.
- CVSS v3.1 (CVE record)
- 8.4
- high
- EPSS (exploit probability, 30 days)
- 97%
- among the highest 0.1% of all CVEs
- Added to CISA KEV
- 2024-09-09
- US federal due date 2024-09-30
- Ubuntu priority
- medium
What is CVE-2016-3714?
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."
CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA notes
- This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: imagemagick.org/discourse-server/viewtopic.php, imagemagick.org/archive/releases; nvd.nist.gov/vuln/detail/CVE-2016-3714
Upstream versions (CVE record)
Version ranges from CISA's enrichment of the CVE record (CPE-based); the record itself lists none.
- imagemagickAffectedFixed in
- ≤ 6.9.3-9
- 7.0.0-0
- 7.0.1-0
not statedVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none.
- canonical ubuntu_linuxAffectedFixed in
- 12.04
- 14.04
- 15.10
- 16.04
not statedVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none.
- debian_linuxAffectedFixed in
- 8.0
- 9.0
not statedVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none.
- opensuseAffectedFixed in
- 13.2
not statedVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none.
- opensuse leapAffectedFixed in
- 42.1
not statedVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none.
- suse_linux_enterprise_serverAffectedFixed in
- 12
not statedVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none.
| Product | Affected | Fixed in |
|---|---|---|
| imagemagickVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none. |
| not stated |
| canonical ubuntu_linuxVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none. |
| not stated |
| debian_linuxVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none. |
| not stated |
| opensuseVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none. |
| not stated |
| opensuse leapVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none. |
| not stated |
| suse_linux_enterprise_serverVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none. |
| not stated |
Ubuntu and Debian releases
A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.
Ubuntu 16.04 LTS·graphicsmagick
ESM ended
Fixed: 1.3.23-1ubuntu0.1
Ubuntu 16.04 LTS·imagemagick
ESM ended
Fixed: 8:6.8.9.9-7ubuntu5.1
Ubuntu 14.04 LTS·graphicsmagick
ESM ended
Fixed: 1.3.18-1ubuntu3.1
Ubuntu 14.04 LTS·imagemagick
ESM ended
Fixed: 8:6.7.7.10-6ubuntu3.1
Check and fix on a server
Run on each Ubuntu or Debian server. Replace imagemagick with the source package from the table above (this CVE affects 2 source packages).
1. Show installed packages built from the source package, with their versions
dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="imagemagick"'2. Compare each installed version with the fixed version for your release from the table
I=INSTALLED_VERSION; F=FIXED_VERSION # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac3. Install the fix
sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="imagemagick"{print $1}')Services keep running the old code until they are restarted – restart the affected service or check with needrestart.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-20 Improper Input Validation
References
Vendor
Other advisories
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.