ADVISORIES

Vulnerability

CVE-2026-112396

Pillow is a Python imaging library. From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding TIFF data to an in-memory buffer. When an application saves attacker-influenced TIFF tags to BytesIO, libtiff can reject a tag during encoding in ImagingLibTiffEncode; the error path then frees the output buffer without closing or clearing the TIFF handle, and later cleanup flushes through the write callback into freed memory, which can crash the process and may enable code execution. This issue is fixed in version 13.0.0.

55 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • CGA-294g-7mg6-86pm
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-2g6c-hwcp-2w98
    CVE-2026-112396 Chainguard Updated 24 October 2026
  • CGA-37q7-cx57-fghj
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-4rc4-qvpg-c73x
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-5f84-9pjr-65q5
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-5g98-hj9w-398q
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-6449-83m9-8rc5
    CVE-2026-112396 Chainguard Updated 5 November 2026
  • CGA-6pcm-93qg-6jv6
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-6rpc-7c5v-p8gg
    CVE-2026-112396 ChainguardWolfi Updated 23 October 2026
  • CGA-6w7v-29j4-8hfm
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-726v-8xjm-rgj3
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-73c6-r4q9-vh78
    CVE-2026-112396 ChainguardWolfi Updated 23 October 2026
  • CGA-756x-4m26-qc62
    CVE-2026-112396 ChainguardWolfi Updated 23 October 2026
  • CGA-7pwp-cw2h-45f3
    CVE-2026-112396 ChainguardWolfi Updated 23 October 2026
  • CGA-8fjm-f4vx-4g3h
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-8r9g-8r33-mp99
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-c23c-74xv-g834
    CVE-2026-112396 ChainguardWolfi Updated 23 October 2026
  • CGA-c985-hf43-2rcw
    CVE-2026-112396 Chainguard Updated 28 October 2026
  • CGA-fv5w-38jp-rg3p
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-gjf5-r844-4j9h
    CVE-2026-112396 ChainguardWolfi Updated 23 October 2026
  • CGA-h8wm-mmph-pxwq
    CVE-2026-112396 Chainguard Updated 28 October 2026
  • CGA-hfp5-cgqp-2j6m
    CVE-2026-112396 Chainguard Updated 26 October 2026
  • CGA-hh8q-f6hm-924x
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-hv35-cp8q-784q
    CVE-2026-112396 ChainguardWolfi Updated 23 October 2026
  • CGA-j46v-qx54-jcmr
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-j79h-wxfg-95fr
    CVE-2026-112396 Chainguard Updated 24 October 2026
  • CGA-m44q-42gm-j5cm
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-m548-9mwj-38w5
    CVE-2026-112396 ChainguardWolfi Updated 26 October 2026
  • CGA-m9pw-x6m4-v4rv
    CVE-2026-112396 ChainguardWolfi Updated 23 October 2026
  • CGA-mffc-cf3v-27h4
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-mqrw-5r65-9894
    CVE-2026-112396 ChainguardWolfi Updated 4 November 2026
  • CGA-mxcr-7qvv-8p53
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-p7m7-7qfr-v4gh
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-p96p-g4h2-jw5g
    CVE-2026-112396 ChainguardWolfi Updated 4 November 2026
  • CGA-pmq8-hp7g-j775
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-q9mj-mfrc-cv95
    CVE-2026-112396 ChainguardWolfi Updated 26 October 2026
  • CGA-qqr8-q3gq-2qh4
    CVE-2026-112396 Chainguard Updated 28 October 2026
  • CGA-qw4v-hpr7-296f
    CVE-2026-112396 Chainguard Updated 28 October 2026
  • CGA-rrrq-wg5p-3j7h
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-v962-mjr2-h2vq
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-v9g6-6473-6qwm
    CVE-2026-112396 Chainguard Updated 5 November 2026
  • CGA-wcxp-7wpp-gcmh
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-wmf3-mcq5-f846
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • CGA-xcp2-857c-jm23
    CVE-2026-112396 Chainguard Updated 23 October 2026
  • DEBIAN-CVE-2026-112396

    Pillow is a Python imaging library. From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding TIFF data to an in-memory buffer. When an application saves attacker-influenced…

    CVE-2026-112396 Debian Updated 16 November 2026
  • GHSA-4rr5-89j8-mwwm

    Pillow: Heap use-after-free when encoding TIFF to an in-memory buffer

    Moderate CVE-2026-112396 PyPI Updated 27 October 2026
  • PYSEC-2026-4328

    Pillow is a Python imaging library. From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding TIFF data to an in-memory buffer. When an application saves attacker-influenced…

    CVE-2026-112396 PyPI Updated 27 October 2026
  • RHVEX-CVE-2026-112396

    pillow: pillow: arbitrary code execution via heap use-after-free during TIFF encoding

    Moderate CVE-2026-112396 Red Hat Updated 13 November 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
  • UBUNTU-CVE-2026-112396

    Pillow is a Python imaging library. From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding TIFF data to an in-memory buffer. When an application saves attacker-influenced…

    CVE-2026-112396 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:12230-1

    python313-Pillow-13.0.0-1.1 on GA media

    CVE-2026-112390CVE-2026-112392CVE-2026-112394CVE-2026-112396 openSUSE Updated 23 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