# CVE-2022-40898: pypa/wheel vulnerable to Regular Expression denial of service (ReDoS)

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.85%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-22T00:00:00.000Z
- Modified: 2026-06-17T05:02:13.177Z
- Also known as: GHSA-qwmp-2cf2-g9g6, PYSEC-2022-43017
- Weaknesses: CWE-20, CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wheel (PyPI): before 0.38.1
- wheel_project wheel: before 0.38.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/> (exploit, advisory, evidence, vendor-advisory)
- <https://pypi.org/project/wheel/> (package, product, third-party-advisory)
- <https://github.com/pypa/wheel/blob/main/src/wheel/wheelfile.py#L18> (third-party-advisory, web)
- <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://pypi.org/project/wheel> (web)
- <https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages> (web)
- <https://pyup.io/vulnerabilities/CVE-2022-40898/51499> (web)
- <https://github.com/advisories/GHSA-qwmp-2cf2-g9g6> (advisory)

## Sources

- CVE List: [CVE-2022-40898](https://www.cve.org/CVERecord?id=CVE-2022-40898), CVE Terms of Use, modified 2025-04-15
- GitHub Advisory Database: [GHSA-qwmp-2cf2-g9g6](https://github.com/advisories/GHSA-qwmp-2cf2-g9g6), CC-BY-4.0, modified 2024-11-19
- NVD: [CVE-2022-40898](https://nvd.nist.gov/vuln/detail/CVE-2022-40898), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43017](https://osv.dev/vulnerability/PYSEC-2022-43017), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2022-40898 · Whole record: https://cve.day/CVE-2022-40898.json · Rebuilt by cve.day 2026-11-25T22:58:17.830Z
