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

Foxit Reader Signature Uninitialized Pointer Vulnerability

An uninitialized pointer in Foxit Reader's handling of a signature object can be triggered by JavaScript in a malicious PDF, leading to memory corruption and potentially arbitrary code execution. An attacker must trick a user into opening the file or visiting a malicious site with the browser plugin enabled.

KPC Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A memory corruption vulnerability exists in Foxit Reader 2025.1.0.27937 due to the use of an uninitialized pointer. A specially crafted Javascript code inside a malicious PDF document can trigger this vulnerability, which can lead to memory corruption and 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 a field in the CPDF_Signature object is not initialised before being used as a 'this' pointer in a method call.

Impact

By carefully controlling allocations and deallocations, an exploit could gain control over the uninitialized memory, leading to further memory corruption and potentially arbitrary code execution.

What the attacker needed

Victim opens a malicious PDF; or victim visits a malicious site with plugin enabled

The fix

The vendor released a patch on 2025-08-13.

How it was found

  1. Open a malicious PDF containing JavaScript that calls signatureInfo() on a signature field.
  2. The script calls setLock(true) on the same field.
  3. The script calls JSON.stringify on the signature info object.
  4. The uninitialized pointer is dereferenced, causing a 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 reader can run JavaScript inside documents. In this case, a programming mistake left a pointer (a memory address) uninitialised, so it pointed to leftover data. When the program later used that pointer, it crashed or could be made to run attacker-controlled 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 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.