CVE-2021-28675: Input Validation
A flaw was found in python-pillow. PsdImagePlugin.PsdImageFile does not sanity check the number of input layers with regard to the size of the data block which could lead to a denial-of-service.
Other sources
An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load.
— GitHub
An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load.
PsdImagePlugin.PsdImageFile did not sanity check the number of input layers with regard to the size of the data block, this could lead to a denial-of-service on open() prior to load(). This dates to the PIL fork.
References: https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#security https://github.com/python-pillow/Pillow/pull/5377
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the vulnerability ID for this flaw?
The vulnerability ID for this flaw is CVE-2021-28675.
What is the severity level of CVE-2021-28675?
The severity level of CVE-2021-28675 is medium with a score of 5.5.
What is the affected software for CVE-2021-28675?
The affected software for CVE-2021-28675 includes Pillow versions up to 8.2.0 and python-pillow versions up to 0:5.1.1-16.el8.
How can I fix CVE-2021-28675?
To fix CVE-2021-28675, upgrade to Pillow version 8.2.0 or later, or python-pillow version 0:5.1.1-16.el8 or later.
Where can I find more information about CVE-2021-28675?
You can find more information about CVE-2021-28675 at the following references: [CVE-2021-28675](https://www.cve.org/CVERecord?id=CVE-2021-28675), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-28675), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1958240), [Red Hat Security Advisory](https://access.redhat.com/errata/RHSA-2021:4149).