NetSight
high7.5

CVE-2022-45199

Pillow subject to DoS via SAMPLESPERPIXEL tag

Impact

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

EcosystemPackageAffectedFixed in
pippillow>= 9.2.0, < 9.3.09.3.0

Affected products

VendorProductAffected versions
PythonPillow
before 9.3.0

Weakness classification

References