CVE-2021-3962 Use after free in ImageMagick
Attackers can trigger a use-after-free in ImageMagick via crafted images, potentially leading to code execution or 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
- None listed
What is CVE-2021-3962?
CVE-2021-3962 is a high-severity use after free vulnerability in Imagemagick Imagemagick, published on 19 Nov 2021. 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
A flaw was found in ImageMagick where it did not properly sanitize certain input before using it to invoke convert processes. This flaw allows an attacker to create a specially crafted image that leads to a use-after-free vulnerability when processed by ImageMagick. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
Weakness: CWE-416
Which versions are affected by CVE-2021-3962?
It affects 1 product.
Products include Imagemagick Imagemagick.
How do I fix CVE-2021-3962?
No fix has been published for CVE-2021-3962 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2021-3962 being exploited?
There is no known exploitation of CVE-2021-3962 in the wild and no public exploit code.
Other vulnerabilities in Imagemagick Imagemagick
Sources
Also known as GHSA-mp8r-x7vv-mqvq.