Skip to content
Memory corruption Advisory Advanced CVE-2018-12852

Adobe Acrobat Reader DC collab review server remote code execution vulnerability

A use-after-free vulnerability in Adobe Acrobat Reader DC can be triggered by JavaScript embedded in a PDF, leading to arbitrary code execution when the application is closed. An attacker could exploit this by convincing a victim to open a malicious PDF or visit a malicious web page.

Aleksandar Nikolic Follow

Originally disclosed on Cisco Talos

Medium 6.8 View original

Specific JavaScript code embedded in a PDF file can lead to a use-after-free condition when opening a PDF document in Adobe Acrobat Reader DC 2018.011.20040. With careful memory manipulation, this can lead 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 cache or reference mishandling causes an object to be freed and then dereferenced again when closing the application.

Impact

This could lead to arbitrary code execution, allowing an attacker to run malicious code on the victim's system.

What the attacker needed

Victim opens malicious PDF; victim closes application

How it was found

  1. Embed JavaScript in a PDF that calls privileged methods to set up a review server and access resource contents.
  2. Open the PDF in Adobe Acrobat Reader DC 2018.011.20040.
  3. Close the application to trigger the use-after-free condition.
  4. Observe the crash or potential code execution.

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.

A use-after-free is a type of memory bug where a program keeps using a piece of memory after it has been freed. In this case, a PDF with special JavaScript can cause Adobe Reader to free an object and then later try to use it again, which can crash the program or let an attacker run their own code. The victim just needs to open the malicious PDF or visit a web page that loads it.

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.