CVE-2022-42966
Exponential ReDoS in cleo leads to denial of service
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
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.9
Exponential ReDoS in cleo leads to denial of service
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
- Record
CVE-2022-42966- 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 - Weakness
- CWE-1333
- Updated
- 2026-11-02
EUVDEUVD-2022-7199
5.9
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
- Record
EUVD-2022-7199- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-2p9h-ccw7-33gf
5.9
cleo is vulnerable to Regular Expression Denial of Service (ReDoS)
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.
- Record
GHSA-2p9h-ccw7-33gf- 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 - Weakness
- CWE-1333
- Updated
- 2026-11-02
NVD
5.9
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
- Record
CVE-2022-42966- 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 - 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 - Weakness
- CWE-1333
- Updated
- 2026-11-02
OSV
5.9
Exponential ReDoS in cleo leads to denial of service
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
- Record
CVE-2022-42966- 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 - Weakness
- CWE-1333
- Updated
- 2026-11-02
OSVGHSA-2p9h-ccw7-33gf
5.9
cleo is vulnerable to Regular Expression Denial of Service (ReDoS)
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.
- Record
GHSA-2p9h-ccw7-33gf- 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 - Weakness
- CWE-1333
- Updated
- 2026-11-02
OSVPYSEC-2022-43178
7.5
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
- Record
PYSEC-2022-43178- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-42966
5.9
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
- Record
UBUNTU-CVE-2022-42966- 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 - 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 - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cleoPyPI |
1.0.0a1 up to 2.0.0 | 2.0.0 |
cleoPyPI |
1.0.0a1 up to 2.0.0, plus listed versions 1.0.01.0.0a21.0.0a31.0.0a41.0.0a5 |
2.0.0 |
cleoPyPI |
before 2.0.0, plus listed versions 0.2.00.2.10.3.00.4.00.4.1 Show 26 moreShow less0.5.00.6.00.6.10.6.20.6.30.6.40.6.4b10.6.50.6.60.6.70.6.80.7.00.7.10.7.20.7.30.7.40.7.50.7.60.8.00.8.11.0.01.0.0a11.0.0a21.0.0a31.0.0a41.0.0a5 |
2.0.0 |
python-cleoUbuntu:22.04:LTS |
All versions, plus listed versions 0.8.1-20.8.1-30.8.1-4 |
None known |
python-cleoUbuntu:24.04:LTS |
All versions, plus listed versions 2.0.1-52.1.0-12.1.0-2 |
None known |
python-cleoUbuntu:25.10 |
All versions, plus listed versions 2.2.1-4 |
None known |
python-cleoUbuntu:26.10 |
All versions, plus listed versions 2.2.1-42.2.1-5 |
None known |
python-cleoUbuntu:26.04:LTS |
All versions, plus listed versions 2.2.1-4 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-42966 is a medium vulnerability (CVSS 5.9) in Cleo, published November 9, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.99%, the 62nd percentile. Fixed in cleo 2.0.0.
References
research.jfrog.com/vulnerabilities/cleo-redos-xray-257186
nvd.nist.gov/vuln/detail/CVE-2022-42966
github.com/python-poetry/cleo/pull/285
github.com/python-poetry/cleo/commit/b5b9a04d2caf58bf7cf94eb7ae4a1ebbe60ea455
github.com/pypa/advisory-database/tree/main/vulns/cleo/PYSEC-2022-43178.yaml
github.com/python-poetry/cleo/releases/tag/2.0.0