Patch Ticker
EnglishEN
Elevated

Pillow heap buffer overflow saving TIFF with libtiff

CVE-2026-128067

Programs that re-save uploaded photos can have their memory contents taken.

CVE
CVE-2026-128067 (opens in a new tab)
Score
CVSS 8.4
First seen
8.4
Products

Mitigation

Update to Pillow 13.0.0 or later.

Summary

Image size tags taken from metadata can make Pillow read and write past a heap buffer when saving TIFF images. Applications that save uploaded images through libtiff are affected, and heap memory can end up in the saved file or the process can crash.

Exploit code is public

Affected when

  • Pillow applications saving TIFF with libtiff compression (anything other than raw)
  • Metadata carried over with exif or tiffinfo, or an uploaded TIFF re-saved

4 other Incidents of this product in the last 30 days

Incidents by product: Pillow

Other recent Incidents of Pillow

All Incidents of 2026-11-13

Read the advisory · github.com (opens in a new tab)