PyPI package
setuptools 65.4.1 vulnerabilities, and the version that fixes all of them
setuptools 65.4.1 has 4 known vulnerabilities (3 rated high or critical); 83.0.0 fixes all of them.
PyPI (opens in a new tab) describes it as “Most extensible Python build backend with support for C/C++ extension modules”
- Known vulnerabilities
- 4
- 3 rated high or critical
- Released
- Sep 30, 2022
- Latest is 84.2.0
- Licence
- MIT
- Dependencies
- None
- Resolved by deps.dev
What to upgrade to
83.0.0 is the closest release with no known vulnerabilities.
Newest 65.x release. Released Jan 11, 2023.
3 known vulnerabilities, worst rated warning83.0.0Upgrade to this
Fixes all 4 known vulnerabilities. Released Jul 4, 2026.
No known vulnerabilitiesLatest release. Released Oct 19, 2026.
No known vulnerabilities
83.0.0 came out on Jul 4, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- CriticalVulnerability
4 known vulnerabilities in setuptools 65.4.1
EPSS: top 16%3 rated high or critical. Most serious: CVE-2022-40897, pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS). Upgrading to 83.0.0 fixes all of them.
- WarningOutdated
setuptools 65.4.1 is 19 major versions behind
Latest release is 84.2.0.
Every advisory for setuptools 65.4.1
Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.
CriticalCVE-2022-40897 on OSV.dev (opens in a new tab)GHSA-r9hx-vwmv-q579EPSS: top 16%
pypa/setuptools vulnerable to Regular Expression Denial of Service (ReDoS)
Fixed in 65.5.1. Published Dec 23, 2022.
CriticalCVE-2024-6345 on OSV.dev (opens in a new tab)GHSA-cx63-2mw6-8hw5EPSS: top 21%
setuptools vulnerable to Command Injection via package URL
Fixed in 70.0.0. Published Jul 15, 2024.
CriticalCVE-2025-47273 on OSV.dev (opens in a new tab)GHSA-5rjg-fvgr-3xxfEPSS: top 25%
setuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write
Fixed in 78.1.1. Published May 19, 2025.
WarningCVE-2026-59890 on OSV.dev (opens in a new tab)GHSA-h35f-9h28-mq5cEPSS: top 67%
setuptools: MANIFEST.in exclusion bypass in sdist via Unicode normalization collision (NFC/NFD) on macOS APFS/HFS+
Fixed in 83.0.0. Published Jul 21, 2026.
Is setuptools the only one?
Paste a public GitHub repo or drop your requirements.txt or pyproject.toml and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly setuptools 65.4.1, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and PyPI. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against PyPI, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.