Skip to main content
← All vulnerabilities
CVE-2022-42964PYSEC-2026-909GHSA-5JQP-885W-XJ32

Exponential ReDoS in pymatgen leads to denial of service

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2025.10.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • pymatgen pymatgen

    All versions

  • pymatgenPyPI

    fixed in 2025.10.7

  • pymatgenPyPI

    through 2022.9.21

References 1

research.jfrog.com