CWE
119
Advisory Published
Updated

REDHAT-BUG-666318: Buffer Overflow

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 SoftwareAffected VersionHow to fix
Evince

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-666318?

    The severity of REDHAT-BUG-666318 is considered significant due to the potential for arbitrary memory overwrite.

  • How do I fix REDHAT-BUG-666318?

    To fix REDHAT-BUG-666318, users should update the GNOME evince document viewer to the latest patched version.

  • What causes the vulnerability REDHAT-BUG-666318?

    The vulnerability REDHAT-BUG-666318 is caused by a heap-based buffer overflow in the AFM font file parser due to insufficient bounds checking.

  • Which versions of GNOME evince are affected by REDHAT-BUG-666318?

    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.

  • Is there a known exploit for REDHAT-BUG-666318?

    As of now, there are no publicly known exploits specifically targeting the vulnerability REDHAT-BUG-666318.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203