CVE-2012-5340 Integer overflow in n/a

High 7.8 Published Updated

Remote attackers can cause a denial of service in SumatraPDF via a corrupt PDF file triggering an integer overflow.

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-2012-5340?

CVE-2012-5340 is a high-severity vulnerability in Artifex Mupdf, published on 23 Jan 2020. 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

SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number() function via a corrupt PDF file.

Weakness: CWE-190

Which versions are affected by CVE-2012-5340?

It affects 2 products.

Products include Artifex Mupdf, Sumatrapdfreader Sumatrapdf.

How do I fix CVE-2012-5340?

Upgrade to a fixed version.

Is CVE-2012-5340 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Artifex Mupdf vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-5340, GHSA-g8x3-qg8h-3qqr.

Is CVE-2012-5340 in your software?

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

Check your SBOMs for free