CVE-2026-112406 is an infinite loop (CWE-835) in Pillow's PDF parser. The root cause is in PdfParser.rewrite_pages() in src/PIL/PdfParser.py: the method walks each pre-existing page's /Parent chain upward using a while pages_tree_node_ref: loop that terminates only when a node has no /Parent, but it never records which nodes it has already visited. A malicious PDF whose page-tree root declares itself as its own /Parent (e.g. /Parent 2 0 R on object 2) causes this loop to spin forever, pinning one CPU core at 100% with flat memory usage. The fix (commit b3ebf20c694f2f12537a629c30229a1d5a53f777) adds a processed_refs list and changes the loop condition to while pages_tree_node_ref and pages_tree_node_ref not in processed_refs, breaking the cycle. The vulnerable code was introduced in commit 24ecfe315ab5 (2018) and has been present since Pillow 5.1.0. The exploit path is Image.save(..., 'PDF', append=True) → PdfImagePlugin._save() → PdfParser.write_catalog() → PdfParser.rewrite_pages(). All three functions appear in the runtime stack trace during exploitation, with rewrite_pages() being the function that actually contains the unguarded loop. Plain Image.open() pipelines are not affected because Pillow only parses PDFs on the append path.