Vulnerabilities > CVE-2012-5340 - Integer Overflow or Wraparound vulnerability in multiple products

047910
CVSS 6.8 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
sumatrapdfreader
artifex
CWE-190
exploit available

Summary

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.

Vulnerable Configurations

Part Description Count
Application
Sumatrapdfreader
1
Application
Artifex
2

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Forced Integer Overflow
    This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.

Exploit-Db

descriptionSumatraPDF 2.1.1/MuPDF 1.0 Integer Overflow. CVE-2012-5340. Dos exploit for windows platform
fileexploits/windows/dos/23246.txt
idEDB-ID:23246
last seen2016-02-02
modified2012-12-09
platformwindows
port
published2012-12-09
reporterbeford
sourcehttps://www.exploit-db.com/download/23246/
titleSumatraPDF 2.1.1/MuPDF 1.0 Integer Overflow
typedos

Seebug

bulletinFamilyexploit
descriptionNo description provided by source.
idSSV:77022
last seen2017-11-19
modified2014-07-01
published2014-07-01
reporterRoot
sourcehttps://www.seebug.org/vuldb/ssvid-77022
titleSumatraPDF 2.1.1/MuPDF 1.0 Integer Overflow