Out-of-bounds Read in Python Pillow
CVE-2021-23437
The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.032 (87.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 87.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.032 · newest: 0.032 · change: +0.000
Affected products
- Python Pillow
- Fedoraproject Fedora — versions 33, 34
- Pillow — versions 0, unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443 (Exploit, Patch, Third Party Advisory, Release Notes)
- pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html (Release Notes, Vendor Advisory)
- github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b (Patch, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.gentoo.org/glsa/202211-10 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2024/03/msg00021.html (mailing-list)
Frequently asked questions
- What is CVE-2021-23437?
- CVE-2021-23437 is a high-severity vulnerability in Python Pillow, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2021-09-03.
- How severe is CVE-2021-23437?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2021-23437 known to be exploited?
- 8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.