Pillow subject to DoS via SAMPLESPERPIXEL tag
High severity
GitHub Reviewed
Published
Nov 14, 2022
to the GitHub Advisory Database
•
Updated Sep 2, 2023
Description
Published by the National Vulnerability Database
Nov 14, 2022
Published to the GitHub Advisory Database
Nov 14, 2022
Reviewed
Nov 15, 2022
Last updated
Sep 2, 2023
Pillow starting with 9.2.0 and prior to 9.3.0 allows denial of service via SAMPLESPERPIXEL. A large value in the SAMPLESPERPIXEL tag could lead to a memory and runtime DOS in TiffImagePlugin.py when setting up the context for image decoding. This issue has been patched in version 9.3.0.
References