Pillow JPEG decoder heap buffer overflow before version 13.0.0
Before Pillow version 13.0.0, its JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. This can corrupt heap memory, crash the process, or potentially allow code execution.
CERT24