CVE Database›Document archive›CVE-2021-28675

CVE-2021-28675

python-pillow: Excessive memory allocation in PSD image reader

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · April 1, 2021

Updated · June 28, 2026

Description

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.

Statement

To mitigate this feature on Red Hat Quay keep the invoice generation feature disabled, as it is by default.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

CWE-20 · Improper Input Validation