{"action":"Upgrade pymatgen to 2025.10.7 or later.","affected":[{"fixed":"2025.10.7","introduced":"0"}],"component":"pymatgen","cve_ids":["CVE-2022-42964"],"ecosystem":"PyPI","epss":0.0088,"exploited":false,"fixed_versions":["2025.10.7"],"ghsa_id":"GHSA-5jqp-885w-xj32","id":"tcs_01M5KHEADFWKZHVJDF7ZC6E4GG","modified_at":"2026-07-08T12:00:09.987680129Z","published_at":"2026-07-07T10:17:23.427661Z","references":["https://osv.dev/vulnerability/PYSEC-2026-909","https://nvd.nist.gov/vuln/detail/CVE-2022-42964","https://github.com/materialsproject/pymatgen/issues/2755","https://github.com/materialsproject/pymatgen","https://research.jfrog.com/vulnerabilities/pymatgen-redos-xray-257184","https://pypi.org/project/pymatgen","https://github.com/advisories/GHSA-5jqp-885w-xj32","https://github.com/materialsproject/pymatgen/pull/4476","https://github.com/materialsproject/pymatgen/commit/8d2ca2296109f9e5a4ac1c751eee650ab4303108"],"severity":{"label":"medium","score":5.9},"sources":[{"source":"osv","source_id":"PYSEC-2026-909","url":"https://osv.dev/vulnerability/PYSEC-2026-909"}],"summary":"pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)"}