CVE-2016-5239 Command injection in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary commands via the gnuplot delegate functionality in ImageMagick and GraphicsMagick libraries.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-5239?

CVE-2016-5239 is a critical command injection vulnerability in Imagemagick Imagemagick, published on 15 Mar 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-284

Which versions are affected by CVE-2016-5239?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2016-5239?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2016-5239 being exploited?

There is no known exploitation of CVE-2016-5239 in the wild and no public exploit code.

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-5239, GHSA-v696-qhvw-8g5m, UBUNTU-CVE-2016-5239.

Is CVE-2016-5239 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free