Elevated
Pillow TIFF and EXIF metadata parsing exhausts memory (denial of service)
CVE-2026-128066
Programs that process uploaded images can freeze or crash.
- CVE
- CVE-2026-128066 (opens in a new tab)
- Score
- CVSS 8.7
- First seen
8.7
Products
Mitigation
Update to Pillow 13.0.0 or later.
Summary
A small crafted TIFF or EXIF-bearing image can make the Pillow imaging library use huge amounts of memory, crashing or stalling the process. Versions 1.0 through 12.3.0 are affected, so any program that opens user-submitted images is exposed.
Affected when
- Pillow 1.0 or later, before 13.0.0
- Opening user-submitted images with Pillow
4 other Incidents of this product in the last 30 days
Incidents by product: Pillow
Other recent Incidents of Pillow
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)