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.
{
"severity": "HIGH",
"github_reviewed": true,
"cwe_ids": [
"CWE-233",
"CWE-252"
],
"nvd_published_at": "2021-06-02T15:15:00Z",
"github_reviewed_at": "2021-06-03T21:41:46Z"
}