Adobe Acrobat Reader DC event value use-after-free
A use-after-free vulnerability in Adobe Acrobat Reader DC occurs when a field event handler saves a reference to its event object, which is later used after the event has been freed. An attacker could exploit this to cause memory corruption and potentially achieve arbitrary code execution.
Originally disclosed on Cisco Talos
A use-after-free vulnerability exists in the way Adobe Acrobat Reader DC 2022.001.20117 deals with event objects across different event types. A specially-crafted PDF document can trigger this vulnerability, which can lead 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 the event object's lifetime is not properly managed when a reference is saved across event handlers, leading to access of freed memory.
Impact
An attacker could potentially achieve arbitrary code execution by manipulating the freed memory.
What the attacker needed
Victim opens a malicious PDF
How it was found
- Set an OnFocus action on a form field to call a handler that saves a reference to the event object.
- Focus the field to trigger the handler, which navigates to another page and saves the event reference.
- Navigating to the new page triggers a page open handler that uses the saved event object in an addAnnot call.
- The event object has been freed, so accessing its value property causes a use-after-free.
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 bug happens when a program keeps using memory after it has been freed. In this case, a saved reference to an event object is used later, causing a crash and potentially letting an attacker 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.