Allocation of Resources Without Limits or Throttling in Pillow - CVE-2026-128066

 

Allocation of Resources Without Limits or Throttling in Pillow - CVE-2026-128066

Published: November 3, 2026 / Updated: November 13, 2026


Vulnerability identifier: #VU158893
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-128066
CWE-ID: CWE-770
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Pillow

How to mitigate CVE-2026-128066

Install security update from vendor's website.

Pillow - update to 13.0.0

External References

Related Security Bulletins