CVE-2016-5239: ImageMagick & GraphicsMagick - Command Injection
- Cve: CVE-2016-5239
- Name: ImageMagick & GraphicsMagick - Command Injection
- Description: The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote attackers to execute arbitrary commands via unspecified vectors.
- Impact: Attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
- Remediation: Update to version 6.9.4-0 or later for ImageMagick and latest stable version for GraphicsMagick.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03162
- Epss percentile: 0.88315
- Assignee: [email protected]
- Published at: 2017-03-15T19:59:00Z
- Age in days: 3541
- Modified at: 2026-06-17T00:49:01Z
- Patch available: yes
- References total: 6
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-5239
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-284 | Improper Access Control |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://git.imagemagick.org/repos/ImageMagick/commit/70a2cf326ed32bedee144b961005c63846541a16 | Issue Tracking, Patch, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2016/06/02/13 | Mailing List, Patch, Third Party Advisory |
| http://www.securityfocus.com/bid/91018 | Third Party Advisory, VDB Entry |
| http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html | |
| https://access.redhat.com/errata/RHSA-2016:1237 | |
| https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| imagemagick:imagemagick | <= 6.9.3-9 | no | nvd | /v1/products/imagemagick/imagemagick |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts