Skip to content
Memory corruption Advisory Advanced CVE-2024-41830

Adobe Acrobat Reader AV3DVirtAnnot Object Format Event Use-After-Free Vulnerability

A use-after-free vulnerability exists in Adobe Acrobat Reader's handling of AV3DVirtAnnot objects when JavaScript triggers a page change, freeing the object while it is still referenced. An attacker could exploit this to cause memory corruption and potentially achieve arbitrary code execution.

KPC Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A use-after-free vulnerability exists in the AV3DVirtAnnot functionality of Adobe Acrobat Reader 2024.002.20759. 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.

KPC, 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 AV3DVirtAnnot object is freed when the page changes but is later used without checking if it still exists.

Impact

This could lead to memory corruption and potentially arbitrary code execution, though the report notes it may depend on memory layout.

What the attacker needed

Victim opens a malicious PDF; PDF contains JavaScript and a 3D image

The fix

The vulnerability was fixed by the vendor in a patch release.

How it was found

  1. Create a PDF with a 3D image to trigger creation of an AV3DVirtAnnot object.
  2. Add JavaScript that sets a Format action on a text field to call a function that changes the page.
  3. Open the PDF and trigger the Format action (e.g., by focusing a check box) to cause the page change and free the object.
  4. The freed object is then used, leading to a crash or potential code execution.

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 happens when a program frees memory but keeps using it, like deleting a file and then trying to open it. Here, a PDF with JavaScript can cause the reader to free an object and then use it again, which can crash the program or let an attacker run their own code. The attacker needs the victim to open a malicious PDF.

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 KPC

View all

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