# CVE-2022-40897

Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of service via HTML in a crafted package or custom PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in package_index.py.

- CVSS: 5.9 MEDIUM
- EPSS: unknown
- In CISA KEV: no
- Published: 2022-12-23

Sources: NVD, OSV, CISA, FIRST. Last checked 20 Nov 2026.
