ADVISORIES

Vulnerability

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 not properly checked for an ICO container, and thus an attempted memory allocation can be very large.

21 advisories report this vulnerability, across 11 ecosystems.

Advisories

  • ALAS2023-2023-146

    Amazon Linux 2023 - ALAS2023-2023-146: Important priority package update for python-pillow

    Important CVE-2021-25290CVE-2021-25291CVE-2021-25293CVE-2021-27921 Amazon Linux Updated 22 March 2023
  • ALPINE-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 not properly checked for an ICO container, and thus an attempted memory allocation…

    CVE-2021-27923 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-27923
    CVE-2021-27923 Alpine Updated 18 November 2026
  • ALSA-2021:4149

    Moderate: python-pillow security update

    CVE-2020-35653CVE-2020-35655CVE-2021-25287CVE-2021-25288 AlmaLinux Updated 29 October 2026
  • DEBIAN-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 not properly checked for an ICO container, and thus an attempted memory allocation…

    CVE-2021-27923 Debian Updated 23 October 2026
  • GHSA-95q3-8gr9-gm8w

    Pillow Denial of Service by Uncontrolled Resource Consumption

    High CVE-2021-27923 PyPI Updated 15 August 2025
  • OESA-2021-1127

    python-pillow security update

    High CVE-2020-35655CVE-2021-27921CVE-2021-27922CVE-2021-27923 openEuler Updated 18 August 2026
  • OESA-2021-1146

    python-pillow security update

    High CVE-2020-35655CVE-2021-27921CVE-2021-27922CVE-2021-27923 openEuler Updated 18 August 2026
  • PYSEC-2021-42

    Pillow before 8.1.1 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…

    CVE-2021-27923 PyPI Updated 6 December 2023
  • RHSA-2021:4149

    Red Hat Security Advisory: python-pillow security update

    CVE-2020-35653CVE-2020-35655CVE-2021-25287CVE-2021-25288 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2021-27923

    python-pillow: Excessive memory allocation in ICO image reader

    Moderate CVE-2021-27923 Red Hat Updated 6 November 2026
  • RLSA-2021:4149

    Moderate: python-pillow security update

    CVE-2020-35653CVE-2020-35655CVE-2021-25287CVE-2021-25288 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2021:1938-1

    Security update for python-Pillow

    CVE-2020-35653CVE-2020-35655CVE-2021-25287CVE-2021-25288 SUSE Updated 4 February 2026
  • SUSE-SU-2021:1939-1

    Security update for python-Pillow

    CVE-2020-35653CVE-2021-25287CVE-2021-25288CVE-2021-25290 SUSE Updated 4 February 2026
  • SUSE-SU-2021:1940-1

    Security update for python-Pillow

    CVE-2020-35653CVE-2021-25287CVE-2021-25288CVE-2021-25290 SUSE Updated 4 February 2026
  • SUSE-SU-2024:1673-1

    Security update for python-Pillow

    CVE-2020-35654CVE-2021-23437CVE-2021-25289CVE-2021-25290 openSUSE Updated 4 February 2026
  • SUSE-SU-2024:1673-2

    Security update for python-Pillow

    CVE-2020-35654CVE-2021-23437CVE-2021-25289CVE-2021-25290 SUSE Updated 4 February 2026
  • SUSEVEX-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 not properly checked for an ICO container, and thus an attempted memory allocation…

    Important CVE-2021-27923 SUSE Updated 17 October 2026
  • UBUNTU-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 not properly checked for an ICO container, and thus an attempted memory allocation…

    CVE-2021-27923 Ubuntu Updated 2 April 2026
  • USN-4763-1

    pillow vulnerabilities

    CVE-2021-25289CVE-2021-25290CVE-2021-25291CVE-2021-25292 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2021:1134-1

    Security update for python-CairoSVG, python-Pillow

    Known exploited CVE-2020-15999CVE-2020-35653CVE-2020-35654CVE-2020-35655 openSUSE Updated 4 February 2026

References