CVE-2022-1270 Memory corruption in GraphicsMagick

High 7.8 Published Updated

A heap buffer overflow in GraphicsMagick allows attackers to execute arbitrary code or cause denial of service via crafted MIFF 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-2022-1270?

CVE-2022-1270 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 28 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

In GraphicsMagick, a heap buffer overflow was found when parsing MIFF.

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2022-1270?

It affects 2 products.

Linux distribution packages (2)
GraphicsMagick openSUSE:Leap 15.3All versions1.3.35-150300.3.3.1
GraphicsMagick openSUSE:TumbleweedAll versions1.3.38-1.1

Products include Debian Debian Linux, Graphicsmagick Graphicsmagick.

How do I fix CVE-2022-1270?

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-1270 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-1270 exists.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-1270, DLA-3200-1, DSA-5288-1, GHSA-95x6-vp26-h77r, OESA-2022-1760, SUSE-SU-2022:1274-1 and 2 more.

Is CVE-2022-1270 in your software?

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

Check your SBOMs for free