CVEs / CVE-2016-3714
CVE-2016-3714: ImageMagick Improper Input Validation Vulnerability
- Known exploited in the CISA KEV catalog since 9 Sep 2024
- high 8.4 CVSS 3.1 (NVD)
- EPSS 97.4% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2016-3714
Summary
ImageMagick contains an improper input validation vulnerability that affects the EPHEMERAL, HTTPS, MVG, MSL, TEXT, SHOW, WIN, and PLT coders. This allows a remote attacker to execute arbitrary code via shell metacharacters in a crafted image.
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 and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | n/a | — |
| imagemagick imagemagick | up to and including 6.9.3-9 | — |
| imagemagick imagemagick | 7.0.0-0 | — |
| imagemagick imagemagick | 7.0.1-0 | — |
| canonical ubuntu_linux | 12.04 | — |
| canonical ubuntu_linux | 14.04 | — |
| canonical ubuntu_linux | 15.10 | — |
| canonical ubuntu_linux | 16.04 | — |
| debian debian_linux | 8.0 | — |
| debian debian_linux | 9.0 | — |
| opensuse opensuse | 13.2 | — |
| opensuse leap | 42.1 | — |
| suse suse_linux_enterprise_server | 12 | — |
Exploitation
| In CISA KEV since | 9 Sep 2024 |
|---|---|
| Due date for US federal agencies | 30 Sep 2024 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. |
Severity
| CVSS 3.1 | 8.4 highCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-20 |
References
- CVE-2016-3714 on NVD
- CVE-2016-3714 in the CISA KEV catalog
- https://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=29588#p132726 (cited by CISA)
- https://imagemagick.org/archive/releases/ (cited by CISA)
- CVE-2016-3714 on OSV
- http://git.imagemagick.org/repos/ImageMagick/blob/a01518e08c840577cabd7d3ff291a9ba735f7276/ChangeLog Patch
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00024.html Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00025.html Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00028.html Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00032.html Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00041.html Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00051.html Third Party Advisory
- http://packetstormsecurity.com/files/152364/ImageTragick-ImageMagick-Proof-Of-Concepts.html Third Party Advisory, VDB Entry
- http://rhn.redhat.com/errata/RHSA-2016-0726.html Third Party Advisory
- http://www.debian.org/security/2016/dsa-3580 Third Party Advisory
- http://www.debian.org/security/2016/dsa-3746 Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/05/03/13 Mailing List
- http://www.openwall.com/lists/oss-security/2016/05/03/18 Mailing List
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html Third Party Advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html Third Party Advisory
- http://www.rapid7.com/db/modules/exploit/unix/fileformat/imagemagick_delegate Third Party Advisory
- http://www.securityfocus.com/archive/1/538378/100/0/threaded Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/89848 Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1035742 Third Party Advisory, VDB Entry
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.440568 Third Party Advisory
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.