Nitro PRO PDF nested pages remote code execution vulnerability
A use-after-free exists in Nitro Pro's PDF parser when handling nested pages: a page buffer is freed but left referenced in the parent PDF object. A crafted PDF can trigger an exception whose cleanup writes a null byte out of bounds, potentially leading to memory corruption and code execution.
Originally disclosed on Cisco Talos
An exploitable code execution vulnerability exists in the PDF parser of Nitro Pro 13.9.1.155. A specially crafted PDF document can cause a use-after-free which can lead to remote code execution.
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
Impact
A crafted PDF could cause memory corruption and possibly arbitrary code execution, though the text only says this is possible and does not demonstrate a working exploit.
What the attacker needed
Victim opens a crafted PDF; Nitro Pro [redacted]
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 is made of objects, and a page is one object that the program stores in memory. Here the program throws away a page's memory but keeps a pointer to it, so later code still uses that stale pointer. An attacker who sends a specially built PDF can then make the program write into memory it should not touch, which may let them run their own 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.