The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443
https://security.gentoo.org/glsa/202211-10
https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html
https://lists.debian.org/debian-lts-announce/2024/03/msg00021.html
https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b