Adobe Acrobat Reader Font gvar per-tuple-variation-table Out-Of-Bounds Read Vulnerability
An out-of-bounds read vulnerability exists in Adobe Acrobat Reader's handling of the gvar table in OpenType fonts. A specially crafted font embedded in a PDF can cause the application to read beyond the allocated buffer, potentially disclosing sensitive information and aiding further exploitation.
An out-of-bounds read vulnerability exists in font handling code of Adobe Acrobat Reader 2024.002.21005. A specially crafted font file embedded into a PDF can trigger an out of bounds memory read which can lead to disclosure of sensitive information and aid further exploitation.
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
The application fails to subtract the size of the private-point-numbers data from the tuple variation data size when reading the per-tuple-variation-table, leading to an out-of-bounds read.
Impact
This could lead to disclosure of sensitive information and aid further exploitation.
What the attacker needed
Victim opens a malicious PDF
How it was found
- Craft a PDF with an embedded OpenType font containing a gvar table with a GlyphVariationData that includes private-point-numbers.
- Open the PDF in Adobe Acrobat Reader.
- The reader parses the font and triggers the out-of-bounds read when processing the per-tuple-variation-table.
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.
When a PDF contains a font, the reader must parse the font's data. A mistake in how the reader calculates the size of a part of the font data causes it to read past the end of a buffer, which could leak memory contents. An attacker could use this to gather information that helps in further attacks.
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.