ADVISORIES

Vulnerability

CVE-2021-34552

Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.

24 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALAS2-2023-2083

    Amazon Linux 2 2017.12 - ALAS2-2023-2083: important priority package update for python-pillow

    Important CVE-2014-9601CVE-2016-9190CVE-2020-35653CVE-2021-28676 Amazon Linux Updated 7 June 2023
  • 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-34552

    Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.

    CVE-2021-34552 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-34552
    CVE-2021-34552 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-34552

    Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.

    CVE-2021-34552 Debian Updated 23 October 2026
  • DLA-2716-1

    pillow - security update

    CVE-2020-35653CVE-2021-25290CVE-2021-28676CVE-2021-28677 Debian Updated 20 November 2026
  • GHSA-7534-mm45-c74v

    Buffer Overflow in Pillow

    Critical CVE-2021-34552 PyPI Updated 9 October 2024
  • PYSEC-2021-331

    Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.

    CVE-2021-34552 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-34552

    python-pillow: Buffer overflow in image convert function

    Moderate CVE-2021-34552 Red Hat Updated 7 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:2595-1

    Security update for python-Pillow

    CVE-2021-34552 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2631-1

    Security update for python-Pillow

    CVE-2021-34552 SUSE Updated 2 May 2025
  • SUSE-SU-2021:2632-1

    Security update for python-Pillow

    CVE-2021-34552 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
  • UBUNTU-CVE-2021-34552

    Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.

    CVE-2021-34552 Ubuntu Updated 4 February 2026
  • USN-5227-1

    pillow vulnerabilities

    CVE-2021-23437CVE-2021-34552CVE-2022-22815CVE-2022-22816 Ubuntu Updated 27 April 2026
  • USN-5227-2

    pillow vulnerabilities

    CVE-2021-23437CVE-2021-34552CVE-2022-22815CVE-2022-22816 Ubuntu Updated 29 June 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
  • openSUSE-SU-2024:11209-1

    python36-Pillow-8.3.2-1.2 on GA media

    Known exploited CVE-2014-3589CVE-2014-3598CVE-2016-0740CVE-2016-0775 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13827-1

    python310-Pillow-10.3.0-1.1 on GA media

    Known exploited CVE-2014-3589CVE-2014-3598CVE-2016-0740CVE-2016-0775 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:11261-1

    python313-Pillow-12.3.0-1.1 on GA media

    Known exploited CVE-2014-3589CVE-2014-3598CVE-2016-0740CVE-2016-0775 openSUSE Updated 13 July 2026

References