Allocation of Resources Without Limits or Throttling in Pillow - CVE-2026-128066
Published: November 3, 2026 / Updated: November 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by exhausting the memory of a process handling a crafted image.
The vulnerability exists due to allocation of resources without limits in Pillow's ImageFileDirectory_v2.load() function in src/PIL/TiffImagePlugin.py when parsing TIFF or EXIF image file directory entries. A remote attacker can submit a crafted image containing distinct tags whose offsets and counts reference overlapping file data to make the parser allocate and retain separate copies of the same bytes without bounding their aggregate size, exhausting memory and stalling or terminating the handling process.