CVE-2021-28675

python-pillow: Excessive memory allocation in PSD image reader

Published Jun 2, 2021 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0169 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 GHSA Github GHSA GHSA-g6rj-rv7j-xwp4 Pillow denial of service
Ubuntu USN Ubuntu USN USN-4963-1 Pillow vulnerabilities
Ubuntu USN Ubuntu USN USN-8135-1 Pillow vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 9:47 PM
Reserved
Mar 18, 2021, 12:00 AM
Status
Modified
Published
Jun 2, 2021, 3:15 PM
Modified
Jun 17, 2026, 3:46 AM
Severity
Moderate
Public date
Apr 1, 2021, 12:00 AM