First published: Thu Dec 30 2010(Updated: )
A heap based buffer overflow was found in the parser for AFM font files, which are used for rendering DVI files in GNOME evince document viewer. Due to insufficient bounds checks when writing data to a memory buffer allocated on a heap, it may be possible to cause an arbitrary memory overwrite, leading to code execution. Common Vulnerabilities and Exposures assigned an identifier <a href="https://access.redhat.com/security/cve/CVE-2010-2642">CVE-2010-2642</a> 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.
Affected Software | Affected Version | How to fix |
---|---|---|
Evince |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-666318 is considered significant due to the potential for arbitrary memory overwrite.
To fix REDHAT-BUG-666318, users should update the GNOME evince document viewer to the latest patched version.
The vulnerability REDHAT-BUG-666318 is caused by a heap-based buffer overflow in the AFM font file parser due to insufficient bounds checking.
Specific versions of GNOME evince that use the flawed parser for AFM font files are affected, but it is recommended to update to the latest version.
As of now, there are no publicly known exploits specifically targeting the vulnerability REDHAT-BUG-666318.