Skip to content
Memory corruption Advisory Advanced CVE-2020-3744

Adobe Acrobat Reader DC Javascript Field Name Information Leak

A JavaScript API in Adobe Acrobat Reader DC allows creating a form field with a specially crafted name that triggers an out-of-bounds read during a memcpy operation, leaking heap memory. An attacker could use this to disclose sensitive information and bypass mitigations like ASLR.

Aleksandar Nikolic Follow

Originally disclosed on Cisco Talos

Medium 6.8 View original

A specific JavaScript code embedded in a PDF file can lead to information leak when opening a PDF document in Adobe Acrobat Reader DC 2019.021.20048. With careful memory manipulation, this can lead to sensitive information disclose which could be abused when exploiting another vulnerability to bypass mitigations.

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 an integer overflow in the calculation of the copy size when splitting a field name by dots, leading to a memcpy that reads beyond the allocated buffer.

Impact

This could lead to sensitive information disclosure, which could be abused when exploiting another vulnerability to bypass mitigations such as ASLR.

What the attacker needed

Victim opens a malicious PDF or visits a malicious page; Adobe Acrobat Reader DC 2019.021.20048

How it was found

  1. Create a PDF with embedded JavaScript that adds a form field with a very long name containing a dot.
  2. Retrieve the field name using getNthFieldName.
  3. The name retrieval triggers an out-of-bounds read, leaking memory contents into the returned string.
  4. Print or inspect the leaked data via JavaScript.

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.

Adobe Acrobat Reader can run JavaScript inside PDF files to handle interactive forms. A bug in how it calculates the length of a form field's name causes it to read more memory than it should, and that extra memory can be seen by the JavaScript code. This lets an attacker peek at data they shouldn't see, which might help them get around security protections.

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.