{"id":"CVE-2022-42964","aliases":["GHSA-5jqp-885w-xj32","PYSEC-2026-909"],"url":"https://o3.security/vulnerability/CVE-2022-42964","summary":"pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)","details":"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","published":"2022-11-09T20:15:09.793Z","modified":"2026-07-07T11:56:39.677240055Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"pymatgen","fixedVersion":null}],"fix":null,"references":[{"type":"EVIDENCE","url":"https://research.jfrog.com/vulnerabilities/pymatgen-redos-xray-257184/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-07T11:56:39.677240055Z"}}