Read the docs
TI-2022-20944 Aliases CVE-2022-42964GHSA-5jqp-885w-xj32

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

VendorProductAffected versionsFixed inStatusSource
pymatgenpymatgenall versions—No fix listedCNA
—pymatgen (PyPI)up to 2022.9.21—No fix listedGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:materialsvirtuallab:pymatgen:-:*:*:*:*:*:*:*not specified by NVDVulnerableMaterialsvirtuallab
  • cpe:2.3:a:materialsvirtuallab:pymatgen:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Materialsvirtuallab

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-42964
  2. 2026-10-03 Alias added: GHSA-5jqp-885w-xj32

References

  • TI-2024-15446 pymatgen arbitrary code execution when parsing a maliciously crafted JonesFaithfulTransformation transformation_string CVSS 3.1CRITICAL 9.4

Sources