CVE-2022-42964: Materialsvirtuallab Pymatgen

High severity, CVSS 7.5. EPSS: 0.9% chance of exploitation in the next 30 days.

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

Published 2022-11-09. Last modified 2026-06-17.