CVE-2010-2499: Buffer Overflow

Published Jul 9, 2010
·
Updated

Buffer overflow in the MacReadPOSTResource function in base/ftobjs.c in FreeType before 2.4.0 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted LaserWriter PS font file with an embedded PFB fragment.

Other sources

Robert Swiecki reported a buffer overflow flaw in freetype with how it handles certain fonts. 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 code is not present in Red Hat Enterprise Linux 3 (freetype 2.1.4). This issue does cause a crash on Red Hat Enterprise Linux 4 and 5.

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

Upstream bug reports:

http://savannah.nongnu.org/bugs/index.php?30248 http://savannah.nongnu.org/bugs/index.php?30249

Upstream commits that fix the issue:

http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=c69891a1345640096fbf396e8dd567fe879ce233 http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=f29f741efbba0a5ce2f16464f648fb8d026ed4c8

Acknowledgements:

Red Hat would like to thank Robert Święcki of the Google Security Team for the discovery of this issue.

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 9, 2010
Data Sourced
08:51 PM
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-2499?

CVE-2010-2499 has a high severity rating due to its potential to cause application crashes and execute arbitrary code.

2

How do I fix CVE-2010-2499?

To fix CVE-2010-2499, you need to upgrade FreeType to version 2.4.0 or later.

3

Which software versions are affected by CVE-2010-2499?

CVE-2010-2499 affects FreeType versions prior to 2.4.0 and specific versions of Ubuntu Linux, Debian, and macOS.

4

What type of attack is possible with CVE-2010-2499?

CVE-2010-2499 allows remote attackers to conduct denial of service attacks or potentially execute arbitrary code using crafted font files.

5

Is CVE-2010-2499 related to any specific file type?

Yes, CVE-2010-2499 exploits a vulnerability in processing crafted LaserWriter PS font files with embedded PFB fragments.

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