CVE-2024-23346

CVE-2024-23346 is a critical-severity vulnerability in Materialsvirtuallab Pymatgen with a CVSS 3.x base score of 9.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-77.

Key facts

Description

Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. A critical security vulnerability exists in the `JonesFaithfulTransformation.from_transformation_str()` method within the `pymatgen` library prior to version 2024.2.20. This method insecurely utilizes `eval()` for processing input, enabling execution of arbitrary code when parsing untrusted input. Version 2024.2.20 fixes this issue.

Frequently asked questions

What is CVE-2024-23346?
Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. A critical security vulnerability exists in the `JonesFaithfulTransformation.from_transformation_str()` method within the `pymatgen` library prior to version 2024.2.20. This method insecurely utilizes `eval()` for processing input, enabling execution of arbitrary code when parsing untrusted input. Version 2024.2.20 fixes this issue.
How severe is CVE-2024-23346?
CVE-2024-23346 has a CVSS 3.x base score of 9.3, rated critical severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2024-23346 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (89th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-23346?
CVE-2024-23346 affects Materialsvirtuallab Pymatgen. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-23346?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
Does CVE-2024-23346 have an EU (EUVD) identifier?
Yes. CVE-2024-23346 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0203.
When was CVE-2024-23346 published?
CVE-2024-23346 was published on 2024-02-21 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Materialsvirtuallab Pymatgen

All CVEs affecting Materialsvirtuallab Pymatgen →

Other CWE-77 (Command Injection) vulnerabilities

Browse all CWE-77 (Command Injection) vulnerabilities →