ADVISORIES

Vulnerability

CVE-2026-128066

Pillow is a Python imaging library. From 1.0 through 12.3.0, ImageFileDirectory_v2.load() in src/PIL/TiffImagePlugin.py retains a separate bytes object for each out-of-line IFD tag value without limiting the total data read or preventing distinct tags from referencing the same file region. A small crafted TIFF or EXIF-bearing JPEG, PNG, WebP, or MPO can therefore cause memory use quadratic in the input size. TIFF and some JPEG paths trigger parsing during Image.open(), while other formats are exposed when EXIF is requested, including through getexif() or ImageOps.exif_transpose(). The declared pixel dimensions do not bound this metadata allocation, so decompression-bomb checks do not prevent process memory exhaustion. This issue is fixed in version 13.0.0.

8 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • CGA-23h8-45wr-2v34
    CVE-2026-128066 Chainguard Updated 23 November 2026
  • CGA-25c6-4hj9-jh8r
    CVE-2026-128066 Chainguard Updated 23 November 2026
  • CGA-g62x-cjjh-3r7f
    CVE-2026-128066 ChainguardWolfi Updated 13 November 2026
  • CGA-h7pv-4396-mmm5
    CVE-2026-128066 ChainguardWolfi Updated 13 November 2026
  • CGA-qm38-59wx-2x5v
    CVE-2026-128066 Chainguard Updated 13 November 2026
  • GHSA-wqgw-9xfh-qf2g

    Pillow: Memory DoS in TIFF and EXIF IFD parsing via overlapping tag data

    Moderate CVE-2026-128066 PyPI Updated 12 November 2026
  • SUSEVEX-CVE-2026-128066

    Pillow is a Python imaging library. From 1.0 through 12.3.0, ImageFileDirectory_v2.load() in src/PIL/TiffImagePlugin.py retains a separate bytes object for each out-of-line IFD tag value without limiting the total data…

    Important CVE-2026-128066 SUSEopenSUSE Updated 13 November 2026
  • UBUNTU-CVE-2026-128066

    Pillow is a Python imaging library. From 1.0 through 12.3.0, ImageFileDirectory_v2.load() in src/PIL/TiffImagePlugin.py retains a separate bytes object for each out-of-line IFD tag value without limiting the total data…

    CVE-2026-128066 Ubuntu Updated 24 November 2026

References