CVE-2012-1135: Buffer Overflow
An out-of heap-based buffer read flaw was found in the way TrueType bytecode / opcode interpreter of the FreeType font rendering engine performed execution of NPUSHB and NPUSHW instructions. 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.
Upstream bug report: [1] https://savannah.nongnu.org/bugs/?35640
Upstream patch: [2] http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=5dddcc45a03b336860436a180aec5b358517336b
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 read operation and memory corruption) or possibly execute arbitrary code via vectors involving the NPUSHB and NPUSHW instructions in a TrueType font.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2012-1135?
CVE-2012-1135 has a medium severity rating due to its potential for exploitation through specially-crafted font files.
How do I fix CVE-2012-1135?
To fix CVE-2012-1135, update to a patched version of FreeType that addresses the flaw.
What are the affected versions of FreeType in CVE-2012-1135?
CVE-2012-1135 affects FreeType versions up to 2.4.8 and specific older versions down to 1.3.1.
Can CVE-2012-1135 be exploited remotely?
Yes, CVE-2012-1135 can be exploited remotely if a user opens a malicious font file in an application using the affected FreeType library.
What applications are vulnerable due to CVE-2012-1135?
Applications using vulnerable versions of the FreeType library, such as certain versions of Mozilla Firefox Mobile, may be at risk from CVE-2012-1135.