Skip to content
Memory corruption Advisory Advanced CVE-2022-34230

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.

Aleksandar Nikolic Follow

Originally disclosed on Cisco Talos

High 8.8 View original

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.

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

  1. Set an OnFocus action on a form field to call a handler that saves a reference to the event object.
  2. Focus the field to trigger the handler, which navigates to another page and saves the event reference.
  3. Navigating to the new page triggers a page open handler that uses the saved event object in an addAnnot call.
  4. 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.

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.