ADVISORIES

Vulnerability

CVE-2026-96640

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.

56 advisories report this vulnerability, across 12 ecosystems.

Advisories

  • ALAS2023-2026-3441

    Amazon Linux 2023 - ALAS2023-2026-3441: Important priority package update for python-pillow

    Important CVE-2026-112401CVE-2026-112902CVE-2026-96640 Amazon Linux Updated 12 November 2026
  • ALSA-2026:92639

    Important: python-pillow security update

    CVE-2026-112391CVE-2026-112392CVE-2026-112397CVE-2026-112402 AlmaLinux Updated 30 October 2026
  • CGA-2cm6-jr9p-2f2p
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-2mqv-vx7f-r497
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-2pj7-59qh-mfpq
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-38xr-v3r4-h5r7
    CVE-2026-96640 Chainguard Updated 28 October 2026
  • CGA-3j83-v736-r6hp
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-46fm-vhxf-9m26
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-5chq-phjg-7fgj
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-5w36-6hvv-3q4h
    CVE-2026-96640 Chainguard Updated 24 October 2026
  • CGA-68rv-q8c4-w2c3
    CVE-2026-96640 Chainguard Updated 28 October 2026
  • CGA-6ccv-wcv2-w2ph
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-785q-7rw4-rmq6
    CVE-2026-96640 Chainguard Updated 28 October 2026
  • CGA-8fr8-jg77-gw6v
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-8ph6-597w-xmpq
    CVE-2026-96640 ChainguardWolfi Updated 4 November 2026
  • CGA-9xcf-3fq4-hv5c
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-cx72-4vw7-wwxj
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-fhcx-f92p-fw54
    CVE-2026-96640 Chainguard Updated 26 October 2026
  • CGA-fjjr-h73g-69gp
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-fv83-r4wf-r6x8
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-fw5p-wxx5-ghfp
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-g73q-jcv5-cx5v
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-g8g6-3ff2-fp2r
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-ggr4-xh2f-rmvj
    CVE-2026-96640 Chainguard Updated 24 October 2026
  • CGA-jfq8-j3rh-hw55
    CVE-2026-96640 ChainguardWolfi Updated 4 November 2026
  • CGA-jg69-7frv-65cg
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-q5cm-3gpg-f8ph
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-r5jg-v5pj-xw8m
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-v68c-762g-j758
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-vp67-fm3p-5p32
    CVE-2026-96640 ChainguardWolfi Updated 28 October 2026
  • CGA-wfmj-7xxx-854w
    CVE-2026-96640 ChainguardWolfi Updated 28 October 2026
  • CGA-wg87-mw2x-vgcv
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-wrm6-3vc8-rmj8
    CVE-2026-96640 Chainguard Updated 23 October 2026
  • CGA-x9jj-2437-9hqf
    CVE-2026-96640 Chainguard Updated 28 October 2026
  • DEBIAN-CVE-2026-96640

    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…

    CVE-2026-96640 Debian Updated 16 November 2026
  • ELSA-2026-92639

    ELSA-2026-92639: python-pillow security update (IMPORTANT)

    Important CVE-2026-112391CVE-2026-112392CVE-2026-112397CVE-2026-112402 Oracle Linux Updated 30 October 2026
  • GHSA-mrfp-p49p-3hf2

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

    High CVE-2026-96640 PyPI Updated 29 October 2026
  • RHSA-2026:100715

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update

    CVE-2026-102278CVE-2026-102925CVE-2026-102930CVE-2026-102937 Red Hat Updated 24 November 2026
  • RHSA-2026:92639

    Red Hat Security Advisory: python-pillow security update

    CVE-2026-112391CVE-2026-112392CVE-2026-112397CVE-2026-112402 Red Hat Updated 24 November 2026
  • RHSA-2026:92861

    Red Hat Security Advisory: Satellite 6.19 security update

    Known exploited CVE-2026-110856CVE-2026-110857CVE-2026-110858CVE-2026-110859 Red Hat Updated 24 November 2026
  • RHSA-2026:95655

    Red Hat Security Advisory: Satellite 6.16 EUS security update

    Known exploited CVE-2026-104895CVE-2026-110264CVE-2026-110856CVE-2026-110857 Red Hat Updated 24 November 2026
  • RHSA-2026:95656

    Red Hat Security Advisory: Satellite 6.17 security update

    Known exploited CVE-2026-104895CVE-2026-110264CVE-2026-110856CVE-2026-110857 Red Hat Updated 24 November 2026
  • RHSA-2026:95657

    Red Hat Security Advisory: Satellite 6.18 security update

    Known exploited CVE-2026-104895CVE-2026-110264CVE-2026-110856CVE-2026-110857 Red Hat Updated 24 November 2026
  • RHSA-2026:98109

    Red Hat Security Advisory: python-pillow security update

    CVE-2026-112391CVE-2026-112392CVE-2026-112393CVE-2026-112397 Red Hat Updated 24 November 2026
  • RHSA-2026:98111

    Red Hat Security Advisory: python-pillow security update

    CVE-2026-112391CVE-2026-112392CVE-2026-112393CVE-2026-112397 Red Hat Updated 24 November 2026
  • RHSA-2026:98120

    Red Hat Security Advisory: python-pillow security update

    CVE-2026-112391CVE-2026-112392CVE-2026-112393CVE-2026-112397 Red Hat Updated 24 November 2026
  • RLSA-2026:92639

    Important: python-pillow security update

    CVE-2026-112391CVE-2026-112392CVE-2026-112397CVE-2026-112402 Rocky Linux Updated 30 October 2026
  • SUSE-SU-2026:24656-1

    Security update for python-Pillow

    CVE-2026-112390CVE-2026-112391CVE-2026-112392CVE-2026-112393 SUSE Updated 12 November 2026
  • SUSE-SU-2026:24701-1

    Security update for python-Pillow

    CVE-2026-112390CVE-2026-112391CVE-2026-112392CVE-2026-112393 SUSE Updated 15 November 2026
  • SUSE-SU-2026:5038-1

    Security update for python-Pillow

    CVE-2026-112390CVE-2026-112391CVE-2026-112392CVE-2026-112393 SUSE Updated 3 November 2026
  • SUSE-SU-2026:5194-1

    Security update for python-Pillow

    CVE-2026-112390CVE-2026-112391CVE-2026-112392CVE-2026-112393 SUSE Updated 12 November 2026
  • UBUNTU-CVE-2026-96640

    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…

    CVE-2026-96640 Ubuntu Updated 13 November 2026
  • USN-9064-1

    pillow vulnerabilities

    CVE-2026-112390CVE-2026-112391CVE-2026-112392CVE-2026-112393 Ubuntu Updated 17 November 2026
  • openSUSE-SU-2026:12251-1

    python313-Pillow-13.0.0-2.1 on GA media

    CVE-2026-112902CVE-2026-96636CVE-2026-96638CVE-2026-96640 openSUSE Updated 24 October 2026
  • openSUSE-SU-2026:22246-1

    Security update for python-Pillow

    CVE-2026-112390CVE-2026-112391CVE-2026-112392CVE-2026-112393 openSUSE Updated 11 November 2026
  • openSUSE-SU-2026:22301-1

    Security update for python-Pillow

    CVE-2026-112390CVE-2026-112391CVE-2026-112392CVE-2026-112393 openSUSE Updated 14 November 2026

References