THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-p4wg-p73j-c528 (high) — Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)

[GHSA] GHSA-p4wg-p73j-c528 (high) — Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)

medgithub_advisoriesPublished 2026-10-20

GHSA-p4wg-p73j-c528 Severity: high CVE: CVE-2026-112895

Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)

### Summary When an application appends to an existing PDF with `Image.save(..., format="PDF", append=True)`, Pillow parses that file with `PdfParser`. Two recursive parsers have no effective bound. `linearize_page_tree` follows `/Kids`

Indicators of compromise

Original source: https://github.com/advisories/GHSA-p4wg-p73j-c528