CVE-2026-59198: Python Pillow

High severity, CVSS 7.5. EPSS: 0.3% chance of exploitation in the next 30 days.

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.

Affected products

  • Python Pillow: from 5.2.0, before 12.3.0 (fixed in 12.3.0)

Published 2026-07-14. Last modified 2026-07-14.