CVE-2022-3213 Memory corruption in ImageMagick

Medium 5.5 Published Updated

A heap buffer overflow in ImageMagick allows attackers to cause a denial of service via a malformed TIFF file.

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

CVE-2022-3213 is a medium-severity memory corruption vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 19 Sep 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 buffer overflow issue was found in ImageMagick. When an application processes a malformed TIFF file, it could lead to undefined behavior or a crash causing a denial of service.

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2022-3213?

It affects 3 products.

Linux distribution packages (3)
ImageMagick SUSE:Linux Enterprise Module for Desktop Applications 15 SP4All versions7.1.0.9-150400.6.9.1
ImageMagick SUSE:Linux Enterprise Module for Development Tools 15 SP4All versions7.1.0.9-150400.6.9.1
ImageMagick openSUSE:Leap 15.4All versions7.1.0.9-150400.6.9.1

Products include Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Imagemagick Imagemagick.

How do I fix CVE-2022-3213?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-3213 being exploited?

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

All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-3213, DEBIAN-CVE-2022-3213, GHSA-rvv6-3f7f-jg4m, JLSEC-2026-897, OESA-2022-1998, SUSE-SU-2022:3487-1.

Is CVE-2022-3213 in your software?

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

Check your SBOMs for free