ADVISORIES

GitHub Advisory Database

GHSA-q4mp-jvh2-76fj

Pillow subject to DoS via SAMPLESPERPIXEL tag

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIpillow
From 9.2.0 before 9.3.0 (fixed in 9.3.0)

References