Skip to content
Memory corruption Advisory Advanced CVE-2023-44372

Adobe Acrobat Reader U3D page event use-after-free vulnerability

Adobe Acrobat Reader mishandles the lifetime of JavaScript event objects when a page containing a U3D object is involved, so a crafted PDF can free an object and then use it again. An attacker who convinces a user to open such a file could corrupt memory and potentially run arbitrary code.

Kamlapati Choubey Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A use-after-free vulnerability exists in the page event processing in Adobe Acrobat Reader 2023.006.20320. A specially crafted Javascript code inside a malicious PDF document can trigger reuse of a previously freed object, which can lead to memory corruption and could result in arbitrary code execution.

Kamlapati Choubey, 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 page event triggered while a field's Format action runs frees an object tied to that field, and the code later dereferences the stale pointer without checking it.

Impact

Depending on the memory layout, this could be abused for arbitrary read and write access and ultimately for arbitrary code execution, but the user must first open the malicious file.

What the attacker needed

Victim opens a malicious PDF; JavaScript enabled in the reader

The fix

The vendor released a patch on 2023-11-14, so the fix is to update Acrobat Reader to a version after 2023.006.20320.

How it was found

  1. Open the malicious PDF in Acrobat Reader so its embedded JavaScript runs.
  2. The script adds a text field and assigns a callback to that field's Format action.
  3. The callback changes the current page, which fires a page event.
  4. The page event frees the object associated with the text field.
  5. The freed object is then dereferenced, causing the crash.

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 PDF can contain small scripts, and Acrobat runs them when the document is opened or a field is formatted. This bug makes the reader throw away a piece of memory and then keep using it, which is called a use-after-free. If an attacker controls what lands in that memory afterwards, they may be able to run their own code on the victim's computer.

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

View all

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