CVE-2020-21896 Use after free in n/a

Medium 5.5 Published Updated

Remote attackers can cause a denial of service in MuPDF by tricking users into opening a crafted PDF 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-2020-21896?

CVE-2020-21896 is a medium-severity use after free vulnerability in Artifex Mupdf, published on 22 Aug 2023. 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 Use After Free vulnerability in svg_dev_text_span_as_paths_defs function in source/fitz/svg-device.c in Artifex Software MuPDF 1.16.0 allows remote attackers to cause a denial of service via opening of a crafted PDF file.

Weakness: CWE-416

Which versions are affected by CVE-2020-21896?

It affects 1 product.

Products include Artifex Mupdf.

How do I fix CVE-2020-21896?

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-2020-21896 being exploited?

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

All Artifex Mupdf vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-21896, DLA-4278-1, GHSA-99jc-cxpj-3838, UBUNTU-CVE-2020-21896.

Is CVE-2020-21896 in your software?

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

Check your SBOMs for free