CVE-2022-42040
CWE-434Published: October 11, 2022· Updated: Jun 17, 2026
Official Description
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.
Risk Analysis
The d8s-algorithms Python package contains a backdoor that allows for arbitrary code execution. This critical vulnerability is rated at 9.8, indicating a significant supply chain risk.
No public exploit is known, and it is not in the CISA KEV. The vulnerability is remotely exploitable.
Remove the d8s-algorithms package and audit the system for unauthorized code execution.
Technical Analysis
CVE-2022-42040 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (6)
Quick Facts
Related CVEs (CWE-434)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-42040 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts