CVE-2016-5687 Memory corruption in n/a

Critical 9.8 Published Updated

Remote attackers can trigger an out-of-bounds read in ImageMagick via a crafted DDS file, potentially causing crashes or information disclosure.

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-5687?

CVE-2016-5687 is a critical memory corruption vulnerability in Imagemagick Imagemagick, published on 13 Dec 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The VerticalFilter function in the DDS coder in ImageMagick before 6.9.4-3 and 7.x before 7.0.1-4 allows remote attackers to have unspecified impact via a crafted DDS file, which triggers an out-of-bounds read.

Weakness: CWE-125

Which versions are affected by CVE-2016-5687?

It affects 2 products.

Products include Imagemagick Imagemagick, Oracle Solaris.

How do I fix CVE-2016-5687?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-5687 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as ALPINE-CVE-2016-5687, DEBIAN-CVE-2016-5687, GHSA-f295-mfq3-hmq6, UBUNTU-CVE-2016-5687.

Is CVE-2016-5687 in your software?

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

Check your SBOMs for free