Apple macOS CoreText Font Ligature Caret List Parsing Out-Of-Bounds Read Information Disclosure Vulnerability
The parsing of ligature caret lists in fonts lacks proper validation of user-supplied data, causing a read past the end of an allocated buffer. A remote attacker could disclose sensitive information by having the target visit a malicious page or open a malicious file.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Apple macOS. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 the font parser did not validate the length or offsets in the ligature caret list table before reading from it, leading to an out-of-bounds read.
Impact
A remote attacker could disclose sensitive information from the process, and could combine this with other vulnerabilities to execute code in the context of the current process.
What the attacker needed
Victim visits a malicious page; or opens a malicious font file
The fix
Apple issued an update to correct this vulnerability.
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 contains tables that tell the system how to draw text. One table, the ligature caret list, was read without checking that it stays within the file's bounds, so the program could read memory beyond the buffer. This could leak sensitive data from the process, and the attacker only needs the victim to open a malicious font or visit a page that loads one.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.