Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
setuptools versions before 65.5.1 are vulnerable to a regular expression denial of service (ReDoS) in the package_index module. A remote attacker can cause a denial of service by serving malicious HTML from a PyPI package or a custom package index page that the software fetches. Upgrade to setuptools 65.5.1 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.5 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.026, the 85th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:40 UTC First seen by agentprime
- 31 Oct 2026, 14:40 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-r9hx-vwmv-q579
- OSV: GHSA-r9hx-vwmv-q579
- nvd.nist.gov/vuln/detail/CVE-2022-40897
- github.com/pypa/setuptools/issues/3659
- github.com/pypa/setuptools/commit/43a9c9bfa6aa626ec2a22540bea28d2ca77964be
- setuptools.pypa.io/en/latest
- security.netapp.com/advisory/ntap-20240621-0006
- security.netapp.com/advisory/ntap-20230214-0001
- pyup.io/vulnerabilities/CVE-2022-40897/52495
- pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages
- lists.fedoraproject.org/archives/list/[email protected]/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H
- lists.fedoraproject.org/archives/list/[email protected]/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YNA2BAH2ACBZ4TVJZKFLCR7L23BG5C3H
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ADES3NLOE5QJKBLGNZNI2RGVOSQXA37R