CVE-2021-3407 Use after free in mupdf

High 7.8 Published Updated

A double free vulnerability in MuPDF allows attackers to cause memory corruption, 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
Available

What is CVE-2021-3407?

CVE-2021-3407 is a high-severity use after free vulnerability in Artifex Mupdf, published on 23 Feb 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 mupdf 1.18.0. Double free of object during linearization may lead to memory corruption and other potential consequences.

Weakness: CWE-415

Which versions are affected by CVE-2021-3407?

It affects 3 products.

Products include Artifex Mupdf, Debian Debian Linux, Fedoraproject Fedora.

How do I fix CVE-2021-3407?

Upgrade to a fixed version.

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

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

All Artifex Mupdf vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-3407, GHSA-5qxg-m35q-xr56, UBUNTU-CVE-2021-3407.

Is CVE-2021-3407 in your software?

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

Check your SBOMs for free