CVE-2026-128066
Published:November 12, 2026
Updated:November 13, 2026
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.
Affected Packages
pillow (CONDA):
Affected version(s) >=5.0.0 <13.0.0 || >=8.0.0 <13.0.0 || >=12.0.0 <13.0.0 || >=4.0.0 <13.0.0 || >=7.0.0 <13.0.0 || >=6.0.0 <13.0.0 || >=11.0.0 <13.0.0 || >=9.0.0 <13.0.0 || >=3.0.0 <13.0.0 || >=10.0.0 <13.0.0Fix Suggestion:
Update to version 13.0.0https://github.com/python-pillow/Pillow.git (GITHUB):
Affected version(s) >=1.0 <13.0.0 || >=2.0.0 <13.0.0 || >=3.0.0 <13.0.0 || >=4.0.0a <13.0.0 || >=5.0.0 <13.0.0 || >=6.0.0 <13.0.0 || >=7.0.0 <13.0.0 || >=8.0.0 <13.0.0 || >=9.0.0 <13.0.0 || >=10.0.0 <13.0.0 || >=11.0.0 <13.0.0 || >=12.0.0 <13.0.0Fix Suggestion:
Update to version 13.0.0pillow (PYTHON):
Affected version(s) >=5.0.0 <13.0.0 || >=8.0.0 <13.0.0 || >=12.0.0 <13.0.0 || >=4.0.0 <13.0.0 || >=7.0.0 <13.0.0 || >=2.0.0 <13.0.0 || >=6.0.0 <13.0.0 || >=11.0.0 <13.0.0 || >=9.0.0 <13.0.0 || >=3.0.0 <13.0.0 || >=1.0 <13.0.0 || >=10.0.0 <13.0.0Fix Suggestion:
Update to version 13.0.0Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Allocation of Resources Without Limits or Throttling