CVE-2021-20312 Integer overflow in ImageMagick

High 7.5 Published Updated

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

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

What is CVE-2021-20312?

CVE-2021-20312 is a high-severity vulnerability in Debian Debian Linux, published on 11 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in ImageMagick in versions 7.0.11, where an integer overflow in WriteTHUMBNAILImage of coders/thumbnail.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.

Weakness: CWE-190

Which versions are affected by CVE-2021-20312?

It affects 2 products.

Products include Debian Debian Linux, Imagemagick Imagemagick.

How do I fix CVE-2021-20312?

Upgrade to a fixed version.

Is CVE-2021-20312 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-20312, GHSA-7cgc-x5j3-p7hx, JLSEC-2026-887, UBUNTU-CVE-2021-20312.

Is CVE-2021-20312 in your software?

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

Check your SBOMs for free