CVE-2022-42040: The d8s-algorithms package for Python, as distributed on PyPI, included a potential code-execution backdoor in
CVE-2022-42040 is a critical-severity flaw (CVSS 9.8) affecting d8s-algorithms. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The d8s-algorithms package for Python, as distributed on PyPI, included a potential code-execution backdoor inserted by a third party. The backdoor is the democritus-dicts package. The affected version is 0.1.0.
Why this priority
- Critical severity
- EPSS top 6%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 6.7% (top 6%) |
| CISA exploited list | No |
| Weakness | CWE-434 |
| Published | 2022-10-11 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-42040?
d8s-algorithms: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-42040 being exploited?
CVE-2022-42040 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-42040 affect?
CVE-2022-42040 affects d8s-algorithms. Severity is critical (CVSS 9.8). The d8s-algorithms package for Python, as distributed on PyPI, included a potential code-execution backdoor inserted by a third party. The backdoor is the democritus-dicts package. The affected version is 0.1.0.
How urgent is CVE-2022-42040?
Priority 68/100. Critical severity; EPSS top 6%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Python vulnerabilities · PyPI packages vulnerabilities