Adobe Acrobat Reader DC JavaScript submitForm heap buffer overflow redux
A heap buffer overflow in Adobe Acrobat Reader DC can be triggered by opening a PDF with specific JavaScript, allowing out-of-bounds memory access. With careful manipulation, this could lead to information disclosure and arbitrary code execution.
Originally disclosed on Cisco Talos
A specific JavaScript code embedded in a PDF file can lead to out of bounds memory access when opening a PDF document in Adobe Acrobat Reader DC, version 2020.012.20043. With careful memory manipulation, this can lead to the disclosure of sensitive information, as well as memory corruption, which can lead to arbitrary…
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 heap buffer overflow in the JavaScript submitForm handling within Adobe Acrobat Reader DC.
Impact
An attacker could disclose sensitive information and achieve memory corruption leading to arbitrary code execution, though the victim must open a malicious file or visit a malicious web page.
What the attacker needed
Victim opens a malicious PDF; victim visits a malicious web page
The fix
It should be fixed by patching the heap buffer overflow, as the vendor did for the original vulnerability.
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 heap buffer overflow is a memory safety bug where a program writes more data than a memory area can hold, potentially overwriting nearby data. Here, a PDF with malicious JavaScript causes this overflow, which an attacker could use to read sensitive data or run their own code.
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.