CVE-2021-23437

Summary

CVECVE-2021-23437
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-09-03 16:15:00 UTC
Updated2023-11-07 03:30:00 UTC
DescriptionThe package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.

Risk And Classification

Problem Types: CWE-125

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Application Python Pillow All All All All

References

ReferenceSourceLinkTags
Regular Expression Denial of Service (ReDoS) in pillow | Snyk CONFIRM snyk.io
[SECURITY] Fedora 34 Update: mingw-python-pillow-8.1.2-4.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: mingw-python-pillow-8.1.2-4.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Pillow: Multiple Vulnerabilities (GLSA 202211-10) — Gentoo security GENTOO security.gentoo.org
Raise ValueError if color specifier is too long · python-pillow/Pillow@9e08eb8 · GitHub CONFIRM github.com
[SECURITY] Fedora 33 Update: python2-pillow-6.2.2-7.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
8.3.2 — Pillow (PIL Fork) 8.3.2 documentation CONFIRM pillow.readthedocs.io
[SECURITY] Fedora 33 Update: python2-pillow-6.2.2-7.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Liyuan Chen

Legacy QID Mappings

  • 182687 Debian Security Update for pillow (CVE-2021-23437)
  • 198632 Ubuntu Security Notification for Pillow Vulnerabilities (USN-5227-1)
  • 281922 Fedora Security Update for mingw (FEDORA-2021-9f020cf155)
  • 281923 Fedora Security Update for mingw (FEDORA-2021-cbfaefb390)
  • 296065 Oracle Solaris 11.4 Support Repository Update (SRU) 39.107.1 Missing (CPUOCT2021)
  • 355610 Amazon Linux Security Advisory for python-pillow : ALAS2-2023-2118
  • 375872 Python Pillow Library Denial of Service (DoS) Vulnerability
  • 500782 Alpine Linux Security Update for py3-pillow
  • 501477 Alpine Linux Security Update for py3-pillow
  • 501769 Alpine Linux Security Update for py3-pillow
  • 502017 Alpine Linux Security Update for py3-pillow
  • 6000536 Debian Security Update for pillow (DLA 3768-1)
  • 670840 EulerOS Security Update for python-pillow (EulerOS-SA-2021-2719)
  • 670980 EulerOS Security Update for python-pillow (EulerOS-SA-2021-2641)
  • 670999 EulerOS Security Update for python-pillow (EulerOS-SA-2021-2670)
  • 671003 EulerOS Security Update for python-pillow (EulerOS-SA-2021-2694)
  • 671249 EulerOS Security Update for python-pillow (EulerOS-SA-2022-1184)
  • 690755 Free Berkeley Software Distribution (FreeBSD) Security Update for pillow (ed8a4215-675c-11ec-8dd4-a0f3c100ae18)
  • 710682 Gentoo Linux Pillow Multiple Vulnerabilities (GLSA 202211-10)
  • 980786 Python (pip) Security Update for pillow (GHSA-98vv-pw6r-q6q4)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report