Buffer overflow in Python Pillow
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.032, 88.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Debian Linux — versions 9.0
- Fedoraproject Fedora — versions 33, 34
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ANANIVianneyaz/Archive_plateforme, ARPSyndicate/cvemon, nnrogers515/discord-coderbot, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- pillow.readthedocs.io/en/stable/releasenotes/index.html (Release Notes, Vendor Advisory)
- pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html (Release Notes, Vendor Advisory)
- [debian-lts-announce] 20210722 [SECURITY] [DLA 2716-1] pillow security update (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2021-bf01a738f3 (vendor-advisory)
- FEDORA-2021-3ec845dc0c (vendor-advisory)
- GLSA-202211-10 (vendor-advisory, Third Party Advisory)