Parsing a PDF’s page tree.
There’s no check on which objects have been processed, and a crafted PDF may contain a loop in the page tree.
Replay of PDFBOX-4623, but rewritten to trigger a timeout instead of a StackOverflow.
A crafted PDF with a loop in the page tree triggers a timeout rather than a StackOverflow, making detection and diagnosis less straightforward.