CVE-2010-2643: Integer Overflow
An integer overflow vulnerability was found in the parser for TFM font files, which are used for rendering DVI files, in the GNOME evince document viewer that can lead to local or remote code execution. Due to insufficient checks on the value of an integer used as the size for a memory allocation, it's possible to write data beyond the bounds of the allocated memory and overwrite a function pointer, leading to code execution.
Common Vulnerabilities and Exposures assigned an identifier CVE-2010-2643 to this issue.
The vulnerability is present in the code that handles loading of fonts used by DVI files.To exploit you need two files, a DVI file and the malicious font. The vulnerability is triggered not only by opening the document in evince, but also by browsing to a folder which contains the malicious files, where evince thumbnailer will load the malicious file to generate a thumbnail for it.
Acknowledgements:
Red Hat would like to thank the Evince development team for reporting this issue. Upstream acknowledges Jon Larimer of IBM X-Force as the original reporter.
Other sources
Integer overflow in the TFM font parser in the dvi-backend component in Evince 2.32 and earlier allows remote attackers to execute arbitrary code via a crafted font in conjunction with a DVI file that is processed by the thumbnailer.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2010-2643?
CVE-2010-2643 has a high severity rating due to its potential for local or remote code execution.
How do I fix CVE-2010-2643?
To fix CVE-2010-2643, upgrade to evince version 2.28.2-14.el6_0.1 or later.
Which software versions are affected by CVE-2010-2643?
CVE-2010-2643 affects several versions of Redhat Evince, including 0.1 through 2.32.
Can CVE-2010-2643 be exploited remotely?
Yes, CVE-2010-2643 can be exploited remotely if a user views a specially crafted TFM font file.
What types of attacks can CVE-2010-2643 enable?
CVE-2010-2643 can enable arbitrary code execution attacks, allowing attackers to take control of the affected system.