Skip to content
Memory corruption Advisory Advanced CVE-2025-43576

Adobe Acrobat Reader Annotation Destroy Use-After-Free Vulnerability

Adobe Acrobat Reader mishandles annotation objects: JavaScript in a PDF can destroy an annotation while it is still referenced, leaving a freed object that is later used. This memory corruption could allow arbitrary code execution if the attacker convinces the user to open a malicious file.

KPC Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A use-after-free vulnerability exists in the annotation object processing functionality of Adobe Acrobat Reader 2025.001.20435. 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…

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 annotation object is freed by the destroy call but a stale reference to it is used later without checking whether it is still valid.

Impact

Depending on the memory layout, the freed object could be abused for arbitrary read and write access, which could ultimately lead to arbitrary code execution; the user must 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; the underlying fix is to validate that an annotation object is still alive before using it after a destroy call.

How it was found

  1. Open the crafted PDF containing a StrikeOut annotation and embedded JavaScript.
  2. The script sets the view layout and zoom, then submits the form with annotations included.
  3. Scrolling the page triggers the destroy function on the second annotation.
  4. The annotation object is freed, and the freed buffer is later dereferenced, causing an access violation.

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 this one tells the reader to delete an annotation (a note or markup drawn on a page). The reader frees that object's memory but keeps using it afterwards, so the program reads memory that no longer belongs to it. That kind of mistake, called use-after-free, can let an attacker take control of the program.

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.