CVE-2026-133708
diffpy.structure before 3.5.1 contains a code execution …
diffpy.structure before 3.5.1 contains a code execution vulnerability that allows attackers to run Python code by supplying crafted CIF symmetry operations passed to eval() in get_symop(). Attackers can embed expressions in the _space_group_symop_operation_xyz or _symmetry_equiv_pos_as_xyz loop to execute code with victim privileges when the CIF file is parsed locally.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/diffpy/diffpy.structure/blob/3.5.0/src/diffpy/structure/parsers/p_cif.py
- github.com/diffpy/diffpy.structure/commit/f4be1d534fa9cf488c8e83f258e59fe09b526f62
- github.com/diffpy/diffpy.structure/issues/204
- github.com/diffpy/diffpy.structure/releases/tag/3.5.1
- www.vulncheck.com/advisories/diffpy-structure-before-3.5.1-code-execution-via-eval-in-get-
- nvd.nist.gov/vuln/detail/CVE-2026-133708
- cve.org/CVERecord?id=CVE-2026-133708
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.