# CVE-2021-34552

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-07-13 · Modified: 2024-08-04
- Aliases: ALPINE-CVE-2021-34552, SUSE-SU-2021:2595-1, SUSE-SU-2021:2631-1, SUSE-SU-2021:2632-1, GHSA-7534-mm45-c74v, BIT-pillow-2021-34552, PYSEC-2021-331, UBUNTU-CVE-2021-34552, DEBIAN-CVE-2021-34552
- Record: https://cvemate.com/vulnerability/CVE-2021-34552 · JSON: https://cvemate.com/vulnerability/CVE-2021-34552/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.677%, percentile 86.291%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine py3-pillow (Alpine Linux): \< 8.3.0-r0
- debian pillow (Debian): \< 8.1.2+dfsg-0.3
- ubuntu pillow (Ubuntu): \< 2.3.0-1ubuntu3.4+esm3 \| \< 3.1.2-0ubuntu1.6+esm1 \| \< 5.1.0-1ubuntu0.7 \| \< 7.0.0-4ubuntu0.5
- ubuntu pillow-python2 (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 9.0
- fedoraproject fedora: 33 \| 34
- PyPI pillow (PyPI): \< 8.3.0
- python pillow: ≥ 1.0, ≤ 1.1.7 \| ≥ 1.2, ≤ 8.2.0
- suse python-Pillow&distro=HPE Helion OpenStack 8 (SUSE Linux Enterprise): \< 4.2.1-3.17.1
- suse python-Pillow&distro=SUSE OpenStack Cloud 7 (SUSE Linux Enterprise): \< 2.8.1-4.25.1
- suse python-Pillow&distro=SUSE OpenStack Cloud 8 (SUSE Linux Enterprise): \< 4.2.1-3.17.1
- suse python-Pillow&distro=SUSE OpenStack Cloud 9 (SUSE Linux Enterprise): \< 5.2.0-3.11.1
- suse python-Pillow&distro=SUSE OpenStack Cloud Crowbar 8 (SUSE Linux Enterprise): \< 4.2.1-3.17.1
- suse python-Pillow&distro=SUSE OpenStack Cloud Crowbar 9 (SUSE Linux Enterprise): \< 5.2.0-3.11.1

## References (first 20 of 27)

- <https://pillow.readthedocs.io/en/stable/releasenotes/index.html>
- <https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow>
- <https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7V6LCG525ARIX6LX5QRYNAWVDD2MD2SV/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VUGBBT63VL7G4JNOEIPDJIOC34ZFBKNJ/>
- <https://security.gentoo.org/glsa/202211-10>
- <https://security.alpinelinux.org/vuln/CVE-2021-34552>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20212595-1/>
- <https://bugzilla.suse.com/1188574>
- <https://www.suse.com/security/cve/CVE-2021-34552>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20212631-1/>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20212632-1/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-34552>
- <https://github.com/python-pillow/Pillow/pull/5567>
- <https://github.com/python-pillow/Pillow/commit/31c473898c29d1b7cb6555ce67d9503a4906b83f>
- <https://github.com/advisories/GHSA-7534-mm45-c74v>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-331.yaml>
- <https://github.com/python-pillow/Pillow>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7V6LCG525ARIX6LX5QRYNAWVDD2MD2SV>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VUGBBT63VL7G4JNOEIPDJIOC34ZFBKNJ>

---

Data as of 2026-12-05T04:39:08.906Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
