# CVE-2022-42966: Exponential ReDoS in cleo leads to denial of service

- Severity: Medium 5.9 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:N/AC:H/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): 1.17%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-09T00:00:00.000Z
- Modified: 2026-07-02T20:45:17.823Z
- Also known as: GHSA-2p9h-ccw7-33gf, PYSEC-2022-43178
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: JFROG

## Description

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the cleo PyPI package, when an attacker is able to supply arbitrary input to the Table.set_rows method

(As written by CVE List.)

## Affected

- cleo cleo: before 1.0.0
- cleo (PyPI): from 1.0.0a1 before 2.0.0; before 2.0.0
- python-poetry cleo: before 2.0.0

## Every score

- JFROG: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/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`
- PyPA Advisory Database: 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://research.jfrog.com/vulnerabilities/cleo-redos-xray-257186/> (exploit, evidence, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-42966> (advisory)
- <https://github.com/python-poetry/cleo/pull/285> (web)
- <https://github.com/python-poetry/cleo/commit/b5b9a04d2caf58bf7cf94eb7ae4a1ebbe60ea455> (web)
- <https://github.com/advisories/GHSA-2p9h-ccw7-33gf> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/cleo/PYSEC-2022-43178.yaml> (web)
- <https://github.com/python-poetry/cleo> (package)
- <https://github.com/python-poetry/cleo/releases/tag/2.0.0> (web)
- <https://research.jfrog.com/vulnerabilities/cleo-redos-xray-257186> (web)

## Sources

- CVE List: [CVE-2022-42966](https://www.cve.org/CVERecord?id=CVE-2022-42966), CVE Terms of Use, modified 2025-05-01
- GitHub Advisory Database: [GHSA-2p9h-ccw7-33gf](https://github.com/advisories/GHSA-2p9h-ccw7-33gf), CC-BY-4.0, modified 2026-07-02
- NVD: [CVE-2022-42966](https://nvd.nist.gov/vuln/detail/CVE-2022-42966), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43178](https://osv.dev/vulnerability/PYSEC-2022-43178), CC-BY-4.0, modified 2026-06-10

---

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