{"cve":"CVE-2022-42964","nvd":{"published":"2022-11-09T20:15:09.793","modified":"2026-06-17T05:05:40.777","status":"Modified","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","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://research.jfrog.com/vulnerabilities/pymatgen-redos-xray-257184/","https://research.jfrog.com/vulnerabilities/pymatgen-redos-xray-257184/"],"products":["materialsvirtuallab:pymatgen"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-42964","score":0.0088,"percentile":0.59101,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5jqp-885w-xj32","url":"https://osv.dev/vulnerability/GHSA-5jqp-885w-xj32","summary":"pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)","modified":"2026-07-07T11:56:39.677240055Z","packages":[{"ecosystem":"PyPI","name":"pymatgen","purl":"pkg:pypi/pymatgen","ranges":["<=2022.9.21"],"fixed":[]}]},{"id":"PYSEC-2026-909","url":"https://osv.dev/vulnerability/PYSEC-2026-909","summary":"pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)","modified":"2026-07-08T12:00:09.987680129Z","packages":[{"ecosystem":"PyPI","name":"pymatgen","purl":"pkg:pypi/pymatgen","ranges":["<2025.10.7"],"fixed":["2025.10.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}