THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-mrfp-p49p-3hf2 (high) — Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion

[GHSA] GHSA-mrfp-p49p-3hf2 (high) — Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion

highgithub_advisoriesPublished 2026-10-22

GHSA-mrfp-p49p-3hf2 Severity: high CVE: CVE-2026-96640

Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion

### Summary Pillow's documented PDF append path can spend disproportionate CPU time on a compact malformed PDF page tree.

An attacker who can supply an existing PDF to an application that appends an image with `Image.save(..., format="PDF", append=True)` ca

Indicators of compromise

Original source: https://github.com/advisories/GHSA-mrfp-p49p-3hf2