CVE-2020-27759 Integer overflow in ImageMagick

Low 3.3 Published Updated

A crafted image file can trigger an integer overflow in ImageMagick, potentially causing a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-27759?

CVE-2020-27759 is a low-severity vulnerability in Debian Debian Linux, published on 3 Dec 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In IntensityCompare() of /MagickCore/quantize.c, a double value was being casted to int and returned, which in some cases caused a value outside the range of type `int` to be returned. The flaw could be triggered by a crafted input file under certain conditions when processed by ImageMagick. Red Hat Product Security marked this as Low severity because although it could potentially lead to an impact to application availability, no specific impact was shown in this case. This flaw affects ImageMagick versions prior to 7.0.8-68.

Weakness: CWE-190

Which versions are affected by CVE-2020-27759?

It affects 2 products.

Products include Debian Debian Linux, Imagemagick Imagemagick.

How do I fix CVE-2020-27759?

Upgrade to a fixed version.

Is CVE-2020-27759 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-27759, GHSA-vfw8-wg2m-grp8, JLSEC-2026-857, UBUNTU-CVE-2020-27759.

Is CVE-2020-27759 in your software?

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

Check your SBOMs for free