Nitro Pro XRefTable Entry Missing Object Code Execution Vulnerability
A malformed PDF whose cross-reference table is missing an object identifier causes Nitro Pro to store a pointer to a table entry on the stack, then resize the table while dereferencing a /Length reference, leaving the pointer dangling. A crafted document opened by a victim can then trigger a use-after-free that may lead to code execution.
An exploitable vulnerability exists in the cross-reference table repairing functionality of Nitro Software, Inc.’s Nitro Pro 13.13.2.242. While searching for an object identifier in a malformed document that is missing from the cross-reference table, the application will save a reference to the object’s…
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 stack-held pointer into the cross-reference table becomes stale when the table is resized during on-demand dereferencing of a /Length reference, producing a use-after-free.
Impact
A specially crafted document delivered to and opened by a victim could trigger the use-after-free and potentially lead to code execution under the user's privileges.
What the attacker needed
Victim opens a crafted PDF; no account needed
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 file keeps an index, called the cross-reference table, that says where each object lives in the file. If that index is broken, the reader rebuilds it, and here the rebuild can move the index in memory while the program still holds an old pointer to it. The program then reads freed memory, which an attacker can shape to run their own code when the victim opens the file.
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.