Skip to main content
Public proof of conceptFix available

CVE-2012-5340

A public proof of concept exists; no exploitation attested.

  • Published2020-01-23
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2012-12-09Exploit-DB entryExploit-DB

Versions per branch

NVD
Artifex mupdf
BranchAffectedFixed in
1.0= 1.0no fix published
1.1= 1.1no fix published
Sumatrapdfreader sumatrapdf
BranchAffectedFixed in
2.1= 2.1.1no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • mupdfDebian:14all versions · fixed in 1.2-2
  • mupdfDebian:13all versions · fixed in 1.2-2
  • mupdfDebian:12all versions · fixed in 1.2-2

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

read 2026-12-04 21:56 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-23246
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2020-01-23
Last modified
2026-06-16
NVD status
Modified
GitHub advisory
GHSA-g8x3-qg8h-3qqr

Frequently asked questions

What is CVE-2012-5340?

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.

Is CVE-2012-5340 actively exploited?

A proof-of-concept exploit exists for CVE-2012-5340, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2012-5340?

CVE-2012-5340 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running mupdf? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record