8.3.0 (2021-07-01)
Security
CVE 2021-34552: Fix buffer overflow
PIL since 1.1.4 and Pillow since 1.0 allowed parameters passed into a convert
function to trigger buffer overflow in Convert.c.
Parsing XML
Pillow previously parsed XMP data using Python’s xml module. However, this module
is not secure.
getexif()has usedxmlto potentially retrieve orientation data since Pillow 7.2.0. It has been refactored to usereinstead.