CVE-2016-5239
The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote...
CVE-2016-5239 is a critical vulnerability (CVSS 9.8) in Imagemagick, published May 16, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.16%, the 87th percentile. Fixed in graphicsmagick 1.3.24-1.
The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote attackers to execute arbitrary commands via unspecified vectors.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote attackers to execute arbitrary commands via unspecified vectors.
- Record
CVE-2016-5239- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-284
- Updated
- 2026-11-02
CVE List No score
The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote attackers to execute arbitrary commands via unspecified vectors.
- Record
CVE-2016-5239- Updated
- 2026-11-02
EUVDEUVD-2016-6190 No score
The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote attackers to execute arbitrary commands via unspecified vectors.
- Record
EUVD-2016-6190- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v696-qhvw-8g5m
9.8
The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote...
The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote attackers to execute arbitrary commands via unspecified vectors.
- Record
GHSA-v696-qhvw-8g5m- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-284
- Updated
- 2026-11-02
OSV
9.8
The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote attackers to execute arbitrary commands via unspecified vectors.
- Record
CVE-2016-5239- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-5239
9.8
The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote attackers to execute arbitrary commands via unspecified vectors.
- Record
DEBIAN-CVE-2016-5239- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-5239
9.8
The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote attackers to execute arbitrary commands via unspecified vectors.
- Record
UBUNTU-CVE-2016-5239- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickDebian:12 |
before 1.3.24-1 | 1.3.24-1 |
graphicsmagickDebian:13 |
before 1.3.24-1 | 1.3.24-1 |
graphicsmagickDebian:14 |
before 1.3.24-1 | 1.3.24-1 |
imagemagickDebian:12 |
before 8:6.9.6.2+dfsg-2 | 8:6.9.6.2+dfsg-2 |
imagemagickDebian:13 |
before 8:6.9.6.2+dfsg-2 | 8:6.9.6.2+dfsg-2 |
imagemagickDebian:14 |
before 8:6.9.6.2+dfsg-2 | 8:6.9.6.2+dfsg-2 |
graphicsmagickDebian:8 |
before 1.3.20-3+deb8u4, plus listed versions 1.3.20-3+deb8u11.3.20-3+deb8u21.3.20-3+deb8u3 |
1.3.20-3+deb8u4 |
graphicsmagickDebian:7 |
before 1.3.16-1.1+deb7u1, plus listed versions 1.3.16-1.1 |
1.3.16-1.1+deb7u1 |
imagemagickDebian:7 |
before 8:6.7.7.10-5+deb7u5, plus listed versions 8:6.7.7.10-58:6.7.7.10-5+deb7u28:6.7.7.10-5+deb7u38:6.7.7.10-5+deb7u4 |
8:6.7.7.10-5+deb7u5 |
imagemagickDebian:8 |
before 8:6.8.9.9-5+deb8u2, plus listed versions 8:6.8.9.9-58:6.8.9.9-5+deb8u1 |
8:6.8.9.9-5+deb8u2 |
Show 60 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ImageMagickRed Hat:enterprise_linux:6::client |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-c++Red Hat:enterprise_linux:6::client |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-debuginfoRed Hat:enterprise_linux:6::client |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-c++-develRed Hat:enterprise_linux:6::client |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-develRed Hat:enterprise_linux:6::client |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-docRed Hat:enterprise_linux:6::client |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-perlRed Hat:enterprise_linux:6::client |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagickRed Hat:enterprise_linux:6::computenode |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-c++Red Hat:enterprise_linux:6::computenode |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-c++-develRed Hat:enterprise_linux:6::computenode |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-develRed Hat:enterprise_linux:6::computenode |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-docRed Hat:enterprise_linux:6::computenode |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-perlRed Hat:enterprise_linux:6::computenode |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagickRed Hat:enterprise_linux:6::server |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-c++Red Hat:enterprise_linux:6::server |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-debuginfoRed Hat:enterprise_linux:6::server |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-c++-develRed Hat:enterprise_linux:6::server |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-develRed Hat:enterprise_linux:6::server |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-docRed Hat:enterprise_linux:6::server |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-perlRed Hat:enterprise_linux:6::server |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagickRed Hat:enterprise_linux:6::workstation |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-c++Red Hat:enterprise_linux:6::workstation |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-c++-develRed Hat:enterprise_linux:6::workstation |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-develRed Hat:enterprise_linux:6::workstation |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-docRed Hat:enterprise_linux:6::workstation |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagick-perlRed Hat:enterprise_linux:6::workstation |
before 0:6.7.2.7-5.el6_8 | 0:6.7.2.7-5.el6_8 |
ImageMagickRed Hat:enterprise_linux:7::client |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-c++Red Hat:enterprise_linux:7::client |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-debuginfoRed Hat:enterprise_linux:7::client |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-c++-develRed Hat:enterprise_linux:7::client |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-develRed Hat:enterprise_linux:7::client |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-docRed Hat:enterprise_linux:7::client |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-perlRed Hat:enterprise_linux:7::client |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagickRed Hat:enterprise_linux:7::computenode |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-c++Red Hat:enterprise_linux:7::computenode |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-c++-develRed Hat:enterprise_linux:7::computenode |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-develRed Hat:enterprise_linux:7::computenode |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-docRed Hat:enterprise_linux:7::computenode |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-perlRed Hat:enterprise_linux:7::computenode |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagickRed Hat:enterprise_linux:7::server |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-c++Red Hat:enterprise_linux:7::server |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-debuginfoRed Hat:enterprise_linux:7::server |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-perlRed Hat:enterprise_linux:7::server |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-c++-develRed Hat:enterprise_linux:7::server |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-develRed Hat:enterprise_linux:7::server |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-docRed Hat:enterprise_linux:7::server |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagickRed Hat:enterprise_linux:7::workstation |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-c++Red Hat:enterprise_linux:7::workstation |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-perlRed Hat:enterprise_linux:7::workstation |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-c++-develRed Hat:enterprise_linux:7::workstation |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-develRed Hat:enterprise_linux:7::workstation |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
ImageMagick-docRed Hat:enterprise_linux:7::workstation |
before 0:6.7.8.9-15.el7_2 | 0:6.7.8.9-15.el7_2 |
graphicsmagickUbuntu:14.04:LTS |
before 1.3.18-1ubuntu3.1, plus listed versions 1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu3 |
1.3.18-1ubuntu3.1 |
imagemagickUbuntu:14.04:LTS |
before 8:6.7.7.10-6ubuntu3.1, plus listed versions 8:6.7.7.10-5ubuntu38:6.7.7.10-5ubuntu48:6.7.7.10-6ubuntu18:6.7.7.10-6ubuntu28:6.7.7.10-6ubuntu3 |
8:6.7.7.10-6ubuntu3.1 |
graphicsmagickUbuntu:16.04:LTS |
before 1.3.23-1ubuntu0.1, plus listed versions 1.3.21-31.3.23-11.3.23-1build1 |
1.3.23-1ubuntu0.1 |
imagemagickUbuntu:16.04:LTS |
before 8:6.8.9.9-7ubuntu5.1, plus listed versions 8:6.8.9.9-5ubuntu28:6.8.9.9-68:6.8.9.9-6build18:6.8.9.9-78:6.8.9.9-7ubuntu1 Show 4 moreShow less8:6.8.9.9-7ubuntu28:6.8.9.9-7ubuntu38:6.8.9.9-7ubuntu48:6.8.9.9-7ubuntu5 |
8:6.8.9.9-7ubuntu5.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
git.imagemagick.org/repos/ImageMagick/commit/70a2cf326ed32bedee144b961005c63846541a16
access.redhat.com/errata/RHSA-2016:1237
oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
securityfocus.com/bid/91018
openwall.com/lists/oss-security/2016/06/02/13
lists.debian.org/debian-lts-announce/2018/08/msg00002.html
Show 36 moreShow less
nvd.nist.gov/vuln/detail/CVE-2016-5239
github.com/advisories/GHSA-v696-qhvw-8g5m
security-tracker.debian.org/tracker/CVE-2016-5239
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1269553
bugzilla.redhat.com/show_bug.cgi?id=1269562
bugzilla.redhat.com/show_bug.cgi?id=1333417
bugzilla.redhat.com/show_bug.cgi?id=1334188
bugzilla.redhat.com/show_bug.cgi?id=1340814
bugzilla.redhat.com/show_bug.cgi?id=1344264
bugzilla.redhat.com/show_bug.cgi?id=1344271
security.access.redhat.com/data/csaf/v2/advisories/2016/rhsa-2016_1237.json
access.redhat.com/security/cve/CVE-2015-8895
cve.org/CVERecord?id=CVE-2015-8895
nvd.nist.gov/vuln/detail/CVE-2015-8895
access.redhat.com/security/cve/CVE-2015-8896
cve.org/CVERecord?id=CVE-2015-8896
nvd.nist.gov/vuln/detail/CVE-2015-8896
access.redhat.com/security/cve/CVE-2015-8897
cve.org/CVERecord?id=CVE-2015-8897
nvd.nist.gov/vuln/detail/CVE-2015-8897
seclists.org/oss-sec/2016/q2/459
imagemagick.org/discourse-server/viewtopic.php?f=3&t=28466
access.redhat.com/security/cve/CVE-2015-8898
cve.org/CVERecord?id=CVE-2015-8898
nvd.nist.gov/vuln/detail/CVE-2015-8898
github.com/ImageMagick/ImageMagick/pull/34
access.redhat.com/security/cve/CVE-2016-5118
cve.org/CVERecord?id=CVE-2016-5118
nvd.nist.gov/vuln/detail/CVE-2016-5118
access.redhat.com/security/cve/CVE-2016-5239
cve.org/CVERecord?id=CVE-2016-5239
access.redhat.com/security/cve/CVE-2016-5240
cve.org/CVERecord?id=CVE-2016-5240
nvd.nist.gov/vuln/detail/CVE-2016-5240
ubuntu.com/security/CVE-2016-5239