CVE-2010-2642: Buffer Overflow

Published 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 CVE-2010-2642 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

Heap-based buffer overflow in the AFM font parser in the dvi-backend component in Evince 2.32 and earlier, teTeX 3.0, t1lib 5.1.2, and possibly other products allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted font in conjunction with a DVI file that is processed by the thumbnailer.

Affected Software

41 affected componentsFixes available
redhat/tetex<0:3.0-33.15.el5_8.1
0:3.0-33.15.el5_8.1
redhat/evince<0:2.28.2-14.el6_0.1
0:2.28.2-14.el6_0.1
redhat/t1lib<0:5.1.2-6.el6_2.1
0:5.1.2-6.el6_2.1
redhat/texlive<0:2007-57.el6_2
0:2007-57.el6_2
redhat Evince<=2.32
redhat Evince=0.1
redhat Evince=0.2
redhat Evince=0.3
redhat Evince=0.4
redhat Evince=0.5
redhat Evince=0.6
redhat Evince=0.7
redhat Evince=0.8
redhat Evince=0.9
redhat Evince=2.19
redhat Evince=2.20
redhat Evince=2.21
redhat Evince=2.22
redhat Evince=2.23
redhat Evince=2.24
redhat Evince=2.25
redhat Evince=2.26
redhat Evince=2.27
redhat Evince=2.28
redhat Evince=2.29
redhat Evince=2.29.92
redhat Evince=2.30
redhat Evince=2.30.2
redhat Evince=2.30.3
redhat Evince=2.31
redhat Evince=2.31.1
redhat Evince=2.31.2
redhat Evince=2.31.4
redhat Evince=2.31.4.1
redhat Evince=2.31.6
redhat Evince=2.31.6.1
redhat Evince=2.31.90
redhat Evince=2.31.92
t1lib t1lib=5.1.2
Tug Tetex=3.0
Microsoft cbl2 t1lib 5.1.2-28

Event History

Dec 30, 2010
Data Sourced
via Red Hat·05:34 AM
DescriptionSeverityAffected Software
Jan 5, 2011
CVE Published
12:00 AM
Jan 7, 2011
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Oct 1, 2025
Data Sourced
via Microsoft·11:10 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:10 PM
Affected Software
Updated
via Microsoft·11:10 PM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2010-2642?

CVE-2010-2642 is classified as a medium severity vulnerability due to its potential to cause arbitrary memory overwrite.

2

How do I fix CVE-2010-2642?

To fix CVE-2010-2642, update affected packages such as evince and tetex to the specified secure versions.

3

Which software is affected by CVE-2010-2642?

CVE-2010-2642 affects versions of evince, tetex, t1lib, and texlive among others.

4

What type of vulnerability is CVE-2010-2642?

CVE-2010-2642 is a heap-based buffer overflow vulnerability.

5

Can CVE-2010-2642 lead to remote code execution?

Yes, CVE-2010-2642 has the potential to lead to remote code execution through exploitation of the vulnerability.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203