CVE-2026-59198Published Jul 14, 2026 · Jul 14Updated Oct 28
Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images
python-pillow Pillow
Medium6.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pillow PyPI |
|
|
Original description
Pillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap bytes to be copied into the generated TGA file. This issue is fixed in version 12.3.0.
From the CVE record · GitHub_M