Out-of-bounds read in Pillow - CVE-2026-128067

 

Out-of-bounds read in Pillow - CVE-2026-128067

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


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

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.


Affected software

Pillow

How to mitigate CVE-2026-128067

Install security update from vendor's website.

Pillow - update to 13.0.0

External References

Related Security Bulletins