## Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle

- 種別: advisory
- 重大度: high
- 関連技術: python
- CVE: CVE-2026-112406
- 公開日時: 2026-10-21T21:21:07.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-f2g6-542v-9j58)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-f2g6-542v-9j58

影響: pip:Pillow >= 5.1.0, < 13.0.0 → 13.0.0
============================================================================ Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle Location: src/PIL/PdfParser.py:505 in PdfParser.rewrite_pages() Commit: a707c6b21c313880d0771e54965d142dd42358b6 ============================================================================ A PDF file of a few hundred bytes makes Pillow hang forever, holding one processor core at 100%, when an application tries to append an image to it. Anyone who can s…