CVE-2012-1139: Buffer Overflow
An array index error, leading to out-of stack-based buffer read flaw was found in the way FreeType font rendering engine processed certain glyph information for glyph bitmap distribution format (BDF) font files. A remote attacker could provide a specially-crafted BDF font file, which once opened in an application linked against FreeType would lead to that application crash.
Upstream bug report: [1] https://savannah.nongnu.org/bugs/?35656
Upstream patch: [2] http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=6ac022dc750d95296a6f731b9594f2e751d997fa
Acknowledgements:
Red Hat would like to thank Mateusz Jurczyk of the Google Security Team for reporting this issue.
Other sources
Array index error in FreeType before 2.4.9, as used in Mozilla Firefox Mobile before 10.0.4 and other products, allows remote attackers to cause a denial of service (invalid stack read operation and memory corruption) or possibly execute arbitrary code via crafted glyph data in a BDF font.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2012-1139?
CVE-2012-1139 is classified as a moderate severity vulnerability due to its potential for exploitation through specially crafted BDF font files.
How do I fix CVE-2012-1139?
To address CVE-2012-1139, update FreeType to version 2.4.9 or later, which contains patches for this vulnerability.
What type of vulnerability is CVE-2012-1139?
CVE-2012-1139 is an array index error vulnerability that leads to an out-of-stack buffer read flaw in FreeType.
Which software is affected by CVE-2012-1139?
CVE-2012-1139 affects multiple versions of FreeType, including versions up to 2.4.8 and specific 1.x and 2.0.x versions.
Can CVE-2012-1139 be exploited remotely?
Yes, CVE-2012-1139 can be exploited remotely if a user opens a maliciously crafted BDF font file.