Buffer overflow in Pillow - CVE-2019-19911

 

Buffer overflow in Pillow - CVE-2019-19911

Published: January 13, 2020


Vulnerability identifier: #VU24205
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2019-19911
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Pillow
Software vendor:
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.


Remediation

Install updates from vendor's website.

External links