CVE-2021-23437
mediumpriority · track · 31EPSS 0.032 · 88 %ileEURUUSEPSS · scored 2026-10-27
The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (25)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-98vv-pw6r-q6q4Uncontrolled Resource Consumption in pillow2021-09-07ghsa · osvUS
The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
- BIT-pillow-2021-23437Regular Expression Denial of Service (ReDoS)2024-03-06vendor · osvUS
The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
- PYSEC-2021-3172021-09-03vendor · osvUS
The package pillow from 0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
also known as (9)
Other names and identifiers for this entity.
- CNNVD-202109-161cnnvd
- EUVD-2021-0170enisa_euvd
- BDU:2022-02242fstec_bdu
- GHSA-98vv-pw6r-q6q4enisa_euvd
- PYSEC-2021-317enisa_euvd
- BIT-pillow-2021-23437osv
- GHSA-98vv-pw6r-q6q4osv
- PYSEC-2021-317osv
- SNYK-PYTHON-PILLOW-1319443osv
sources
Which sources assert this record, and when.
references (31)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-23437cnnvd
- https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866bcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2C/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VKRCL7KKAKOXCVD7M6WC5OKFGL4L3SJT/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-23437cnnvd
- https://packetstormsecurity.com/files/165557/Ubuntu-Security-Notice-USN-5227-1.htmlcnnvd
- https://packetstormsecurity.com/files/165588/Ubuntu-Security-Notice-USN-5227-2.htmlcnnvd
- https://packetstormsecurity.com/files/169490/Ubuntu-Security-Notice-USN-5227-3.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan