Buffer overflow in Pillow - CVE-2019-19911
Published: January 13, 2020
Pillow
Alex Clark and Contributors
Description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists when processing FPX images due to the "FpxImagePlugin.py" calls the range function on an unvalidated 32-bit integer if the number of bands is large. A remote attacker can trigger memory corruption and cause a denial of service condition on the target system.
On Windows running 32-bit Python, this results in an OverflowError or MemoryError due to the 2 GB limit. However, on Linux running 64-bit Python this results in the process being terminated by the OOM killer.