ADVISORIES

Vulnerability

CVE-2022-42964

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

4 advisories report this vulnerability, across 3 ecosystems.

Medium severity All PyPI 2Debian 1Ubuntu 1

Advisories in PyPI

  • GHSA-5jqp-885w-xj32

    pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)

    Moderate CVE-2022-42964 PyPI Updated 7 July 2026
  • PYSEC-2026-909

    pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)

    CVE-2022-42964 PyPI Updated 8 July 2026

References