{"cve":"CVE-2021-23437","nvd":{"published":"2021-09-03T16:15:08.317","modified":"2026-06-17T03:38:45.710","status":"Modified","description":"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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-125"],"references":["https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b","https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNSG6VFXTAROGF7ACYLMAZNQV4EJ6I2C/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VKRCL7KKAKOXCVD7M6WC5OKFGL4L3SJT/","https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html"],"products":["fedoraproject:fedora","python:pillow"],"source":"nvd","synced_at":"2026-10-19T21:21:57.125947417+00:00"},"epss":{"cve":"CVE-2021-23437","score":0.0324,"percentile":0.88291,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-98vv-pw6r-q6q4","url":"https://osv.dev/vulnerability/GHSA-98vv-pw6r-q6q4","summary":"Uncontrolled Resource Consumption in pillow","modified":"2024-10-09T21:08:55.452380Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=5.2.0 <8.3.2"],"fixed":["8.3.2"]}]},{"id":"PYSEC-2021-317","url":"https://osv.dev/vulnerability/PYSEC-2021-317","summary":"","modified":"2023-12-06T01:00:56.992827Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<8.3.2"],"fixed":["8.3.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}