
CVE catalog
CVE-2022-42964
pymatgen: CVE-2022-42964
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.88% · Oct 25, 2026
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
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pymatgen | sid | 2026.5.4+dfsg1-1 | fixed |
| Debian | pymatgen | trixie | 2025.2.18+dfsg1-5 | fixed |
| Debian | pymatgen | bookworm | 2022.11.7+dfsg1-11+deb12u2 | fixed |
| Debian | pymatgen | bookworm-security | 2022.11.7+dfsg1-11+deb12u1 | vulnerable |
| Ubuntu | pymatgen | 22.04 | 2022.0.14+dfsg1-1 | vulnerable |
| Ubuntu | pymatgen | 22.04 | 2022.0.16+dfsg1-1 | vulnerable |
| Ubuntu | pymatgen | 22.04 | 2022.0.17+dfsg1-1 | vulnerable |
| Ubuntu | pymatgen | 22.04 | 2022.0.17+dfsg1-1build1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pymatgen | source | sid | 2023.06.23+dfsg1-1 | not yet assigned | Not reported | [1024017] |
| Debian | pymatgen | source | trixie | 2023.06.23+dfsg1-1 | not yet assigned | Not reported | [1024017] |
| Debian | pymatgen | source | bookworm | 2022.11.7+dfsg1-11+deb12u2 | not yet assigned | Not reported | [1024017] |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-pymatgen]Unknown
Source package: [pymatgen]
Details (4)
2022.11.7+dfsg1-11+deb12u2· amd64 · bookwormAffected · Fixed:
2022.11.7+dfsg1-11+deb12u2dsa · pymatgen · debian · bookworm
2022.11.7+dfsg1-11+deb12u2· arm64 · bookwormAffected · Fixed:
2022.11.7+dfsg1-11+deb12u2dsa · pymatgen · debian · bookworm
2022.11.7+dfsg1-11+deb12u1· amd64 · bookworm-securityAffected · Fixed:
2022.11.7+dfsg1-11+deb12u2dsa · pymatgen · debian · bookworm
2022.11.7+dfsg1-11+deb12u1· arm64 · bookworm-securityAffected · Fixed:
2022.11.7+dfsg1-11+deb12u2dsa · pymatgen · debian · bookworm
- [python-pymatgen-doc]Unknown
Source package: [pymatgen]
Details (4)
2022.11.7+dfsg1-11+deb12u2· all · bookwormAffected · Fixed:
2022.11.7+dfsg1-11+deb12u2dsa · pymatgen · debian · bookworm
2022.11.7+dfsg1-11+deb12u2· all · bookwormAffected · Fixed:
2022.11.7+dfsg1-11+deb12u2dsa · pymatgen · debian · bookworm
2022.11.7+dfsg1-11+deb12u1· all · bookworm-securityAffected · Fixed:
2022.11.7+dfsg1-11+deb12u2dsa · pymatgen · debian · bookworm
2022.11.7+dfsg1-11+deb12u1· all · bookworm-securityAffected · Fixed:
2022.11.7+dfsg1-11+deb12u2dsa · pymatgen · debian · bookworm
Observed: