CVE-2022-42964

published 9 Nov 2022 · updated 1 May 2025

Exponential ReDoS in pymatgen leads to denial of service

5.9MediumCVSS 5.9EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in *.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pymatgen*

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-42964 severity on Zeptric[![CVE-2022-42964](https://zeptric.io/badge/cve/CVE-2022-42964.svg)](https://zeptric.io/cve/CVE-2022-42964)