GitHub Advisoryadvisory · PyPI

GHSA-95q3-8gr9-gm8w Pillow Denial of Service by Uncontrolled Resource Consumption

HIGH Published 2021-03-18 Modified 2025-08-15 Official page ↗
Aliases
CVE-2021-27923
Ecosystem
PyPI
Packages
pillow
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-20, CWE-400
Reviewed
2021-03-12

Affected packages

• PyPI pillow: < 8.1.2 → fixed in 8.1.2

Description

Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICO container, and thus an attempted memory allocation can be very large.

Related

Alias · CVE (1)

  • CVE-2021-27923 Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is… vulnerability

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-400 Uncontrolled Resource Consumption weakness

References