CVE-2021-42704 Inkscape Out-of-bounds Write

High 7.8 Published Updated

An out-of-bounds write vulnerability in Inkscape allows attackers to execute arbitrary code via malicious 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-2021-42704?

CVE-2021-42704 is a high-severity memory corruption vulnerability in Inkscape, published on 18 May 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

Inkscape version 0.91 is vulnerable to an out-of-bounds write, which may allow an attacker to arbitrary execute code.

Weakness: CWE-787

Which versions are affected by CVE-2021-42704?

It affects 1 product.

Products include Inkscape Inkscape.

How do I fix CVE-2021-42704?

Upgrade to a fixed version.

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

Is CVE-2021-42704 being exploited?

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

Sources

Also known as DEBIAN-CVE-2021-42704, GHSA-x8w5-m57q-vrj4, UBUNTU-CVE-2021-42704.

Is CVE-2021-42704 in your software?

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

Check your SBOMs for free