CVE-2022-42964
published medium CVSS 3.1 · 5.9Exponential ReDoS in pymatgen leads to denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pymatgen | — | pymatgen0 and later | Affected | Not stated | JFROG |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- JFROG · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pymatgen | pymatgen | 0 and later (affected · custom) | JFROG · cna |
Weaknesses
1- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
References
1Provider assertions
3JFROG · cna
Exponential ReDoS in pymatgen leads to denial of service
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5db82aee17d65ffef7069851f5d3eb662cd9f926f411c6fd1261a7e4970a7d99
- Ingested
- 23 Sep 2026, 08:02:53 UTC
- Source record
- Official CVE record