Adobe Acrobat Reader DC PDF Structured Hierarchy ActualText Structure Element Remote Code Execution Vulnerability
A type confusion in Adobe Acrobat Reader DC when parsing a PDF with a marked content structure element that has an ActualText attribute containing a soft hyphen and references a non-existent font leads to an out-of-bounds heap access. An attacker could exploit this to cause heap corruption and potentially achieve arbitrary code execution if the victim opens a malicious PDF.
Originally disclosed on Cisco Talos
An exploitable type confusion vulnerability exists in code responsible for parsing PDF documents with marked structure elements of Adobe Acrobat Reader DC 2017.009.20044. A specially crafted PDF file can trigger an out of bounds access on the heap potentially leading to arbitrary code execution.
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 type confusion where a structure allocated for a soft hyphen ActualText is smaller than expected, and later code accesses it as a larger structure, causing an out-of-bounds read.
Impact
An attacker could potentially achieve arbitrary code execution by causing heap corruption, though the report only demonstrates a crash under PageHeap.
What the attacker needed
Victim opens a malicious PDF; Adobe Acrobat Reader DC 2017.009.20044
How it was found
- Create a PDF with a content stream that references a non-existent font.
- Add marked content structure elements with an ActualText attribute containing a soft hyphen.
- Open the PDF in Adobe Acrobat Reader DC 2017.009.20044.
- Observe the out-of-bounds access and potential crash.
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 Adobe Acrobat Reader, a program for opening PDF files. When the program reads a specially made PDF, it gets confused about the size of a piece of memory and reads past its end. This can crash the program and, in the worst case, let an attacker run their own code on the victim's computer.
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.