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().
- CVSS
- 7.8High
- Chance of exploitation (EPSS)
- 0.27%
- Published
- Nov 20, 2026
- In the news
- Not yet
What to do
A serious security flaw in Diffpy.structure that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 3.5.1
Affected versions
- Diffpy.structure
- Before 3.5.1
Description
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-133708 published (CVSS 7.8) (Nov 20, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Nov 20, 2026
- CVECVE-2026-133708 published (CVSS 7.8)CVE Program · 13:18 UTC
References 5
- 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-symop-cif-parsing