What’s Vulnerable › Vulnerabilities
CVE-2022-42964: Exponential ReDoS in pymatgen leads to denial of service
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-11-09 · updated 2026-06-17
- Weakness: CWE-1333
Description
An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the pymatgen PyPI package, when an attacker is able to supply arbitrary input to the GaussianInput.from_string method
Affected products
- pymatgen: all versions
References
- https://research.jfrog.com/vulnerabilities/pymatgen-redos-xray-257184/
- https://research.jfrog.com/vulnerabilities/pymatgen-redos-xray-257184/
Get alerted when CVE-2022-42964 or the next vulnerability affects your stack