{"id":"UBUNTU-CVE-2022-42964","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","modified":"2025-09-08T16:50:29Z","published":"2022-11-09T20:15:00Z","upstream":["CVE-2022-42964"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-42964"},{"type":"REPORT","url":"https://research.jfrog.com/vulnerabilities/pymatgen-redos-xray-257184/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-42964"}],"affected":[{"package":{"name":"pymatgen","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pymatgen@2022.0.17+dfsg1-1build1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2022.0.14+dfsg1-1","2022.0.16+dfsg1-1","2022.0.17+dfsg1-1","2022.0.17+dfsg1-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-pymatgen","binary_version":"2022.0.17+dfsg1-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-42964.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}