GHSA-q4mp-jvh2-76fj

Pillow subject to DoS via SAMPLESPERPIXEL tag

At a glance

Published
Updated
CVE
CVE-2022-45199
Aliases
BIT-pillow-2022-45199, PYSEC-2022-42980
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS_V4
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

Description

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

PackageVersions
PyPI · pillowintroduced 9.2.0, fixed 9.3.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database