CVEvulnerability

CVE-2021-28675

5.5 MEDIUM Published 2021-06-02 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-06-02
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
Weaknesses
CWE-252

Description

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.

Affected configurations

• python pillow (< 8.2.0) • fedoraproject fedora 33

Related

Weakness · CWE (1)

  • CWE-252 Unchecked Return Value weakness

References