CVE-2012-1144: Buffer Overflow
An out-of heap-based buffer write flaw was found in the way TrueType bytecode / opcode interpreter of the FreeType font rendering engine performed moving of zone2 pointer point by execution of 'SHift Contour' (SHC) instruction. A remote attacker could provide a specially-crafted font file, which once opened in an application linked against FreeType would lead to that application crash, or, potentially arbitrary code execution with the privileges of the user running the application.
Upstream bug report: [1] https://savannah.nongnu.org/bugs/?35689
Upstream patch: [2] http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=0fc8debeb6c2f6a8a9a2b97332a7c8a0a1bd9e85
Acknowledgements:
Red Hat would like to thank Mateusz Jurczyk of the Google Security Team for reporting this issue.
Other sources
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 heap write operation and memory corruption) or possibly execute arbitrary code via a crafted TrueType font.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2012-1144?
The severity of CVE-2012-1144 is classified as moderate.
How do I fix CVE-2012-1144?
To fix CVE-2012-1144, update FreeType to versions 2.4.9 or later.
What is the impact of CVE-2012-1144?
CVE-2012-1144 allows remote attackers to execute arbitrary code via a specially crafted font file.
Which versions of FreeType are affected by CVE-2012-1144?
CVE-2012-1144 affects FreeType versions up to and including 2.4.8, as well as various earlier versions.
Is CVE-2012-1144 exploitable?
Yes, CVE-2012-1144 is exploitable if a user is tricked into opening a malicious font file.