Multiple vulnerabilities have been identified in FreeType, which could be exploited by attackers to compromise an affected system.
The first issue is caused by an integer overflow error when parsing Printer Font Binary (PFB) format font files with a specially crafted "Private" dictionary table, which could be exploited to crash an application linked against a vulnerable library or execute arbitrary code.
The second vulnerability is caused by an error when parsing Printer Font Binary (PFB) format font files with an invalid "number of axes", which could be exploited to cause a vulnerable library to call the "free()" function on areas of memory that were not dynamically allocated, leading to memory corruption and arbitrary code execution.
The third issue is caused by an off-by-one error when parsing tables within Printer Font Binary (PFB) format font files, which could be exploited to crash an application linked against a vulnerable library or execute arbitrary code.
The fourth vulnerability is caused by an off-by-one error when handling "SHC" instructions within TrueType Font (TTF) font files, which could be exploited to crash an application linked against a vulnerable library or execute arbitrary code.
Credits
Vulnerabilities reported by regenrecht via iDefense Labs.
ChangeLog
2008-06-11 : Initial release
Vulnerability Management
Subscribe to FrSIRT VNS and receive real-time e-mail and SMS alerts when new vulnerabilities, exploits, or patches relevant to your systems and network configurations are available.
Feedback
If you have additional information or corrections for this security advisory please submit them via our contact form or by email to updates@frsirt.com.