Out-of-bounds read in Pillow - CVE-2026-128067
Published: November 3, 2026 / Updated: November 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose process heap contents through generated TIFF files or cause a denial of service.
The vulnerability exists due to an out-of-bounds read in Pillow's libtiff TIFF encoder when saving images with metadata that describes scanlines larger than the allocated image row buffer. A remote attacker can upload an image with crafted ImageWidth or SamplesPerPixel tags that are retained during TIFF encoding to copy adjacent heap contents into the output file or crash the process.