Feed
9.8CRITICAL
CVE-2021-34552Buffer Overflow in Pillow
A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 2.7% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.7%
- percentile 87%
- Fix
- Named by a source
- CVE published 13 Jul 2021
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.7% (+3) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- pillow (PyPI): upgrade to 8.3.0 or later on your release line.
- Commit / pull request: https://github.com/python-pillow/Pillow/pull/5567
- Commit / pull request: https://github.com/python-pillow/Pillow/commit/31c473898c29d1b7cb6555ce67d9503a4906b83f
Who should check
pillow (PyPI) pkg:pypi/pillow
- Affected< 8.3.0Fixed in8.3.0OSV (PYSEC-2021-331)
Confirmed facts
- CVSS
- 9.8 CRITICAL (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-7534-mm45-c74v)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-120
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-34552
- commit / pull requesthttps://github.com/python-pillow/Pillow/pull/5567
- commit / pull requesthttps://github.com/python-pillow/Pillow/commit/31c473898c29d1b7cb6555ce67d9503a4906b83f
- advisoryhttps://github.com/advisories/GHSA-7534-mm45-c74v
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-331.yaml
- otherhttps://github.com/python-pillow/Pillow
- otherhttps://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/7V6LCG525ARIX6LX5QRYNAWVDD2MD2SV
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/VUGBBT63VL7G4JNOEIPDJIOC34ZFBKNJ
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html#buffer-overflow
- otherhttps://pillow.readthedocs.io/en/stable/releasenotes/index.html
- otherhttps://security.gentoo.org/glsa/202211-10
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/7V6LCG525ARIX6LX5QRYNAWVDD2MD2SV/
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/VUGBBT63VL7G4JNOEIPDJIOC34ZFBKNJ/
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-7534-mm45-c74v (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2021-331 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 24 min ago · osv 24 min ago · nvd 85 min ago · epss 24 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-pillow-2021-34552, GHSA-7534-mm45-c74v, PYSEC-2021-331