cve.bz

CVE-2022-42964

7.5 highEPSS 0.9%

High (7.5) in materialsvirtuallab pymatgen. EPSS 0.9% chance of exploitation in the next 30 days. Fixed in pymatgen 2025.10.7.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% chance of exploitation in the next 30 days; higher than 59% of CVEs (scores of 2026-10-31)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5jqp-885w-xj32PyPIpymatgen<=2022.9.21no fix published
PYSEC-2026-909PyPIpymatgen<2025.10.72025.10.7

References

Check your stackJSON