CVE-2022-1114 Use after free in ImageMagick

High 7.1 Published Updated

Attackers can cause information disclosure and denial of service by providing a crafted DICOM image to ImageMagick for conversion.

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-2022-1114?

CVE-2022-1114 is a high-severity use after free vulnerability in Imagemagick Imagemagick, published on 29 Apr 2022. 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 heap-use-after-free flaw was found in ImageMagick's RelinquishDCMInfo() function of dcm.c file. This vulnerability is triggered when an attacker passes a specially crafted DICOM image file to ImageMagick for conversion, potentially leading to information disclosure and a denial of service.

Weakness: CWE-416

Which versions are affected by CVE-2022-1114?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2022-1114?

Apply the vendor's patch.

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-2022-1114 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-1114, GHSA-rhcm-mpjw-m6hf, JLSEC-2026-893, OESA-2022-1670, UBUNTU-CVE-2022-1114.

Is CVE-2022-1114 in your software?

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

Check your SBOMs for free