{"id":"DHI-y665-k5pd-zqvf-bcgb","aliases":[],"title":"Pillow is a Python imaging library. From 5.1.0 until 13.0.0, PdfParser.linearize_page_tree() in src/PIL/PdfParser.py…","originalDescription":"Pillow is a Python imaging library. From 5.1.0 until 13.0.0, PdfParser.linearize_page_tree() in src/PIL/PdfParser.py treats a PDF /Pages graph as a tree without tracking duplicate indirect references. When Image.save(..., format=\"PDF\", append=True) processes an attacker-controlled existing PDF whose /Kids arrays repeatedly reference the same child /Pages node, Pillow expands the shared subtree as distinct pages. A compact malformed PDF can therefore create exponentially many page references and consume disproportionate CPU before the append completes. This issue is fixed in version 13.0.0.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://scout.docker.com/v/DHI-y665-k5pd-zqvf-bcgb","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96640","type":"advisory"},{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-mrfp-p49p-3hf2","type":"advisory"},{"url":"https://github.com/python-pillow/Pillow/commit/6f0e7ee1f9c2fe227906f8a4b926e6622b702bc7","type":"fix"},{"url":"https://github.com/python-pillow/Pillow/releases/tag/13.0.0","type":"web"},{"url":"https://github.com/python-pillow/Pillow/pull/10093","type":"web"},{"url":"https://errata.almalinux.org/8/ALSA-2026-92639.html","type":"advisory"},{"url":"https://access.redhat.com/errata/RHSA-2026:92639","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-3441.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-96640","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112902","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112401","type":"advisory"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-96640","type":"advisory"},{"url":"https://github.com/advisories/GHSA-mrfp-p49p-3hf2","type":"advisory"},{"url":"https://linux.oracle.com/cve/ELSA-2026-92639.html","type":"advisory"},{"url":"https://linux.oracle.com/errata/ELSA-2026-92639.html","type":"advisory"},{"url":"https://access.redhat.com/security/cve/CVE-2026-96640","type":"advisory"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-96640","type":"fix"},{"url":"https://errata.rockylinux.org/RLSA-2026:92639","type":"advisory"},{"url":"https://ubuntu.com/security/CVE-2026-96640","type":"advisory"},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-96640","type":"advisory"}],"sources":[{"name":"osv","at":"2026-12-01T01:25:32.292Z","url":"https://osv.dev/vulnerability/DHI-y665-k5pd-zqvf-bcgb","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T12:46:41.063Z"}],"firstSeenAt":"2026-11-21T12:46:41.063Z","publishedAt":"2026-11-20T16:49:49.000Z","modifiedAt":"2026-12-01T00:45:46.817Z"}