CVE-2017-17879 Memory corruption in n/a

High 8.8 Published Updated

An off-by-one error in ImageMagick's MNG image parser causes a heap-based buffer over-read, potentially leading to crashes or information disclosure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-17879?

CVE-2017-17879 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 24 Dec 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In ImageMagick 7.0.7-16 Q16 x86_64 2017-12-21, there is a heap-based buffer over-read in ReadOneMNGImage in coders/png.c, related to length calculation and caused by an off-by-one error.

Weakness: CWE-125

Which versions are affected by CVE-2017-17879?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Imagemagick Imagemagick.

How do I fix CVE-2017-17879?

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-2017-17879 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-17879, GHSA-r86g-g8qv-wvcr, UBUNTU-CVE-2017-17879.

Is CVE-2017-17879 in your software?

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

Check your SBOMs for free