Apple macOS libFontParser TwOFFStream TTF Parsing Out-Of-Bounds Read Information Disclosure Vulnerability
A flaw in the parsing of TTF fonts in Apple macOS's libFontParser allows a crafted font to trigger an out-of-bounds read, disclosing sensitive information. An attacker could use this in conjunction with other vulnerabilities to execute code in the context of the current process.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Apple macOS. Interaction with the libFontParser library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a missing bounds check when parsing a TTF font stream, allowing a read beyond the allocated buffer.
Impact
An attacker could disclose sensitive information and, in conjunction with other vulnerabilities, execute code in the context of the current process.
What the attacker needed
Crafted TTF font; interaction with libFontParser
The fix
The issue was fixed in macOS Big Sur 11.0.1.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A font file is normally just a set of instructions for drawing letters, but the software that reads it can make mistakes. Here, a specially made font file causes the program to read memory it should not, which can leak private data. The attacker could then combine this with another bug to run their own code.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.