CVE-2023-31794 Denial of service in n/a

Medium 5.5 Published Updated

Attackers can cause a denial of service via a crafted PDF file due to infinite recursion in MuPDF, affecting applications using this library.

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-2023-31794?

CVE-2023-31794 is a medium-severity denial of service vulnerability in Artifex Mupdf, published on 31 Oct 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

MuPDF v1.21.1 was discovered to contain an infinite recursion in the component pdf_mark_list_push. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted PDF file.

Weakness: CWE-674

Which versions are affected by CVE-2023-31794?

It affects 1 product.

Linux distribution packages (3)
mupdf SUSE:Package Hub 15 SP5All versions1.21.1-bp155.3.3.1
mupdf openSUSE:Leap 15.5All versions1.21.1-bp155.3.3.1
mupdf openSUSE:TumbleweedAll versions1.23.4-2.1

Products include Artifex Mupdf.

How do I fix CVE-2023-31794?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-31794 being exploited?

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

All Artifex Mupdf vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-31794, GHSA-fp46-48v5-9hqr, openSUSE-SU-2023:0363-1, openSUSE-SU-2024:13404-1.

Is CVE-2023-31794 in your software?

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

Check your SBOMs for free