CVE-2016-5239
ImageMagick,GraphicsMagick: Gnuplot delegate vulnerability allowing command injection
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · May 8, 2016
Updated · May 13, 2026
Description
It was discovered that ImageMagick did not properly sanitize certain input before passing it to the gnuplot delegate functionality. A remote attacker could create a specially crafted image that, when processed by an application using ImageMagick or an unsuspecting user using the ImageMagick utilities, would lead to arbitrary execution of shell commands with the privileges of the user running the application.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 5.1AV:N/AC:H/Au:N/C:P/I:P/A:P
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')