Out-of-bounds read in Pillow - CVE-2026-112896
Published: November 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to trigger an out-of-bounds heap read that can terminate the process and may expose process memory.
The vulnerability exists due to an out-of-bounds read in Pillow's libtiff-backed TIFF encoder when saving an image with retained ColorMap metadata whose plane size is inconsistent with the sample depth. A remote attacker can supply a crafted 16-bit TIFF containing 768 SHORT ColorMap values that an application loads and saves with the relevant metadata retained to trigger a 131072-byte read from a plane pointer within a 1536-byte allocation, potentially terminating the process or exposing process memory during encoding.