Skip to content
Memory corruption Advisory Advanced CVE-2024-20749

Adobe Acrobat Reader Font CharStrings CharStringsOffset out-of-bounds read vulnerability

An out-of-bounds read vulnerability exists in Adobe Acrobat Reader's processing of CFF2 font tables, where a crafted CharStringsOffset value can cause an excessively large length to be calculated, leading to reading beyond the allocated buffer. An attacker could exploit this to disclose sensitive information by tricking a user into opening a malicious PDF with an embedded font.

KPC Follow

Originally disclosed on Cisco Talos

Medium 6.5 View original

An out-of-bounds read vulnerability exists in the font file processing functionality of Adobe Acrobat Reader 2023.006.20380. A specially crafted font file embedded into a PDF can trigger this vulnerability, which can lead to disclosure of sensitive information.

KPC, on Cisco Talos

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 vulnerability occurs because the application fails to properly validate that a CharStringsOffset value in the CFF2 table is within the bounds of the table, allowing an arbitrarily large length to be calculated and used for reading object data.

Impact

This vulnerability could lead to disclosure of sensitive information from the affected process's memory.

What the attacker needed

Victim opens a malicious PDF

How it was found

  1. Craft a PDF with an embedded OpenType font containing a CFF2 table.
  2. In the CFF2 table's Top DICT, set the CharStrings operator to point to a CharStrings INDEX.
  3. In the CharStrings INDEX, set an offset array element to a value larger than the allowed maximum.
  4. Open the PDF in Adobe Acrobat Reader to trigger the out-of-bounds read.

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.

This report describes a flaw in how Adobe Acrobat Reader reads font data inside PDF files. When the program processes a specially crafted font, it miscalculates the size of a data block and ends up reading memory outside the intended area. This can leak information from the program's memory to an attacker who convinces a user to open a malicious 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.

More by KPC

View all

102 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.