# CVE-2016-5239

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2017-03-15 · Modified: 2024-08-06
- Aliases: UBUNTU-CVE-2016-5239, DEBIAN-CVE-2016-5239
- Record: https://cvemate.com/vulnerability/CVE-2016-5239 · JSON: https://cvemate.com/vulnerability/CVE-2016-5239/json

## Description

```text
The gnuplot delegate functionality in ImageMagick before 6.9.4-0 and GraphicsMagick allows remote attackers to execute arbitrary commands via unspecified vectors.
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.162%, percentile 88.402%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian graphicsmagick (Debian): \< 1.3.24-1
- debian imagemagick (Debian): \< 8:6.9.6.2+dfsg-2
- ubuntu graphicsmagick (Ubuntu): \< 1.3.18-1ubuntu3.1 \| \< 1.3.23-1ubuntu0.1
- ubuntu imagemagick (Ubuntu): \< 8:6.7.7.10-6ubuntu3.1 \| \< 8:6.8.9.9-7ubuntu5.1
- imagemagick imagemagick: ≤ 6.9.3-9

## References

- <http://git.imagemagick.org/repos/ImageMagick/commit/70a2cf326ed32bedee144b961005c63846541a16>
- <https://access.redhat.com/errata/RHSA-2016:1237>
- <http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html>
- <http://www.securityfocus.com/bid/91018>
- <http://www.openwall.com/lists/oss-security/2016/06/02/13>
- <https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html>
- <https://ubuntu.com/security/CVE-2016-5239>
- <https://www.cve.org/CVERecord?id=CVE-2016-5239>
- <https://security-tracker.debian.org/tracker/CVE-2016-5239>

---

Data as of 2026-12-05T03:25:22.783Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
