Skip to content
Memory corruption Advisory Advanced CVE-2017-16367

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.

Aleksandar Nikolic Follow

Originally disclosed on Cisco Talos

High 8.8 View original

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.

Aleksandar Nikolic, 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

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

  1. Create a PDF with a content stream that references a non-existent font.
  2. Add marked content structure elements with an ActualText attribute containing a soft hyphen.
  3. Open the PDF in Adobe Acrobat Reader DC 2017.009.20044.
  4. 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.

More by Aleksandar Nikolic

View all

147 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.