Foxit PDF Reader Doc Object Use-After-Free Information Disclosure Vulnerability
Foxit PDF Reader fails to check that a Doc object still exists before operating on it, leaving a use-after-free condition. A remote attacker who gets a victim to open a malicious file or visit a malicious page could disclose sensitive information, and could combine this with other flaws to run code in the current process.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Reader. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 Doc object was freed while a stale reference to it remained, and the code used that reference without checking the object still existed.
Impact
An attacker could disclose sensitive information, and the text notes the flaw can be leveraged together with other vulnerabilities to execute arbitrary code in the context of the current process; user interaction is required.
What the attacker needed
Victim opens a malicious file or page
The fix
Foxit issued an update to correct the vulnerability.
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 program keeps track of things it is working with, such as a document object, in memory. If it frees that memory but later still uses the old reference, the memory may now hold something else, and the program can read or act on the wrong data. This is called a use-after-free, and here it can leak information from the reader's memory.
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.