Adobe Acrobat Reader Font Program Function Definition Out-Of-Bounds Read Vulnerability
A specially crafted font program embedded in a PDF contains an invalid function definition with an instruction carrying arbitrarily large data, causing an out-of-bounds read when the control value program executes that function. An attacker could trick a user into opening the malicious PDF to disclose sensitive memory contents and aid further exploitation.
An out-of-bounds read vulnerability exists in font handling code of Adobe Acrobat Reader 2024.002.21005. A font file with a specially crafted function definition in the font program embedded into a PDF can trigger an out of bounds memory read which can lead to disclosure of sensitive information and aid further…
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 TrueType interpreter does not validate the size of data pushed by an instruction inside a font program function definition, so executing that function reads beyond the allocated program buffer.
Impact
The out-of-bounds read could disclose sensitive information and aid further exploitation; the CVSS vector rates confidentiality as high with no integrity or availability impact.
What the attacker needed
Victim opens a malicious PDF; font embedded in the PDF
How it was found
- Embed a font in a PDF whose font program holds an invalid function definition containing an instruction with arbitrarily large data.
- Have the control value program call that function so the interpreter executes it.
- Observe the out-of-bounds read in the debugger with PageHeap enabled.
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.
PDF files can carry their own fonts, and those fonts contain small programs that tell the reader how to draw letters at different sizes. A mistake in how Adobe Reader runs one of those font programs lets it read past the end of a memory buffer, so bytes it should never touch can end up where an attacker might see them. The victim only has to open a booby-trapped PDF.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.