CVE-2010-2520: Buffer Overflow

Published Jul 10, 2010
·
Updated

Heap-based buffer overflow in the InsIUP function in truetype/ttinterp.c in FreeType before 2.4.0, when TrueType bytecode support is enabled, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted font file.

Other sources

Robert Swiecki reported a heap buffer overflow vulnerability in freetype's truetype bytecode support. This could cause applications linked against freetype to crash or, possibly, lead to the execution of arbitrary code if an attacker were able to get a victim to load a malicious font file.

The affected functionality (truetype bytecode) is not compiled in Red Hat Enterprise Linux or Fedora by default.

This issue has been given the name CVE-2010-2520.

Upstream bug reports:

http://savannah.nongnu.org/bugs/index.php?30361

Upstream commit that fixes the issue:

http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=888cd1843e935fe675cf2ac303116d4ed5b9d54b

Statement:

Not vulnerable. This issue did not affect the versions of freetype as shipped with Red Hat Enterprise Linux 3, 4, or 5.

Red Hat

Affected Software

8 affected components
FreeType FreeType<2.4.0
Canonical Ubuntu Linux=9.04
Canonical Ubuntu Linux=9.10
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=6.06
Apple iOS and macOS<10.6.5
Debian Debian Linux=5.0

Event History

Jul 10, 2010
Data Sourced
12:26 AM
DescriptionSeverityAffected Software
Aug 19, 2010
CVE Published
via MITRE·05:43 PM
Data Sourced
via MITRE·05:43 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2010-2520?

CVE-2010-2520 has a moderate severity level, as it can lead to denial of service or potentially arbitrary code execution.

2

How do I fix CVE-2010-2520?

To fix CVE-2010-2520, you should update FreeType to version 2.4.0 or later.

3

What software is affected by CVE-2010-2520?

CVE-2010-2520 affects FreeType before version 2.4.0 and various versions of Ubuntu, Debian, and macOS.

4

What type of vulnerability is CVE-2010-2520?

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

5

Can CVE-2010-2520 be exploited remotely?

Yes, CVE-2010-2520 can be exploited remotely through crafted font files.

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