CVE-2020-27770 Integer overflow in ImageMagick

Medium 5.5 Published Updated

An integer overflow in ImageMagick allows attackers to cause a denial of service via crafted input files.

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

CVE-2020-27770 is a medium-severity vulnerability in Debian Debian Linux, published on 4 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

Due to a missing check for 0 value of `replace_extent`, it is possible for offset `p` to overflow in SubstituteString(), causing potential impact to application availability. This could be triggered by a crafted input file that is processed by ImageMagick. This flaw affects ImageMagick versions prior to 7.0.8-68.

Weakness: CWE-190

Which versions are affected by CVE-2020-27770?

It affects 2 products.

Products include Debian Debian Linux, Imagemagick Imagemagick.

How do I fix CVE-2020-27770?

Upgrade to a fixed version.

Is CVE-2020-27770 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-27770, GHSA-229f-wq39-p955, JLSEC-2026-868, UBUNTU-CVE-2020-27770.

Is CVE-2020-27770 in your software?

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

Check your SBOMs for free