7.6
CWE
20
Advisory Published
CVE Published
CVE Published
Updated

CVE-2010-2640: Input Validation

First published: Thu Dec 30 2010(Updated: )

An array index error in the parser for PK font files, which is used for rendering DVI files, in the GNOME evince document viewer can lead to local or remote code execution. Due to insufficient bounds checks when writing to elements in an array, it's possible to overwrite the address of a function pointer, leading to possible arbitrary code execution. Common Vulnerabilities and Exposures assigned an identifier <a href="https://access.redhat.com/security/cve/CVE-2010-2640">CVE-2010-2640</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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/evince<0:2.28.2-14.el6_0.1
0:2.28.2-14.el6_0.1
Evince=2.31.1
Evince=2.19
Evince=2.29.92
Evince=2.27
Evince=2.30.3
Evince=2.31.6.1
Evince=2.31
Evince=0.2
Evince=2.22
Evince=0.8
Evince=0.4
Evince=2.31.4.1
Evince=0.1
Evince=2.20
Evince=2.21
Evince=0.5
Evince=2.31.92
Evince=2.31.2
Evince=2.30
Evince=2.25
Evince=2.29
Evince=0.3
Evince=0.7
Evince=2.31.6
Evince=2.24
Evince=0.6
Evince=2.23
Evince=0.9
Evince<=2.32
Evince=2.31.90
Evince=2.30.2
Evince=2.28
Evince=2.26
Evince=2.31.4

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.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2010-2640?

    CVE-2010-2640 has a medium severity rating, allowing for potential local or remote code execution due to an array index error.

  • How do I fix CVE-2010-2640?

    To fix CVE-2010-2640, update the evince package to version 2.28.2-14.el6_0.1 or later as provided by Red Hat.

  • What software is affected by CVE-2010-2640?

    CVE-2010-2640 affects several versions of Red Hat Evince, including 0.1 up to 2.32.

  • Can CVE-2010-2640 be exploited remotely?

    Yes, CVE-2010-2640 can potentially be exploited remotely through malicious PK font files.

  • What kind of vulnerabilities does CVE-2010-2640 involve?

    CVE-2010-2640 involves an array index error that can lead to code execution vulnerabilities.

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