Exponential ReDoS in pymatgen leads to denial of service
Priority HIGH 66CWE-1333Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
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
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00956 61st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pymatgen | pymatgen | all versions | — | No fix listed | CNA |
| — | pymatgen (PyPI) | up to 2022.9.21 | — | No fix listed | GHSA-5jqp-885w-xj32 |
- pymatgen Vendorpymatgen Affected all versions Fixed in — No fix listed CNA
- pymatgen (PyPI) Vendor— Affected up to 2022.9.21 Fixed in — No fix listed GHSA-5jqp-885w-xj32
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:materialsvirtuallab:pymatgen:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Materialsvirtuallab |
- cpe:2.3:a:materialsvirtuallab:pymatgen:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Materialsvirtuallab
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2022-42964
- 2026-10-03 Alias added: GHSA-5jqp-885w-xj32
References
More Materialsvirtuallab Pymatgen vulnerabilities
- TI-2024-15446 pymatgen arbitrary code execution when parsing a maliciously crafted JonesFaithfulTransformation transformation_string CVSS 3.1CRITICAL 9.4
Sources
- CVE-2022-42964 · CVE Program
- CVE-2022-42964 · NVD
- FIRST EPSS
- GHSA-5jqp-885w-xj32 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences