CVE-2022-40898
HIGH 7.5CVSS 3.1pypa/wheel vulnerable to Regular Expression denial of service (ReDoS)
An issue discovered in Python Packaging Authority (PyPA) Wheel 0.37.1 and earlier allows remote attackers to cause a denial of service via attacker controlled input to wheel cli.
- Published
- 23 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1333CWE-20
- Also known as
- GHSA-qwmp-2cf2-g9g6PYSEC-2022-43017
- Sources
- NVDJSONOSV GHSA-qwmp-2cf2-g9g6JSONOSV PYSEC-2022-43017JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | wheel_project | wheelcpe:2.3:a:wheel_project:wheel:*:*:*:*:*:python:*:* |
< 0.38.1 | 0.38.1 |
| OSV | PyPI | wheel | < 0.38.1 | 0.38.1 |
References
- https://github.com/pypa/wheel/blob/main/src/wheel/wheelfile.py#L18 · Third Party Advisory, WEB
- https://pypi.org/project/wheel/ · Product, Third Party Advisory, WEB, PACKAGE
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/ · Exploit, Vendor Advisory, WEB, EVIDENCE, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-40898 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/wheel/PYSEC-2022-43017.yaml · WEB
- https://github.com/pypa/wheel · PACKAGE
- https://pyup.io/vulnerabilities/CVE-2022-40898/51499 · WEB
- https://github.com/advisories/GHSA-qwmp-2cf2-g9g6 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 23 Dec 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Dec 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Dec 2022)