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.
History

Sat, 21 Nov 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Diffpy
Diffpy diffpy.structure
Vendors & Products Diffpy
Diffpy diffpy.structure

Fri, 20 Nov 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing
Weaknesses CWE-95
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-20T12:17:09.803Z

Updated: 2026-11-20T12:17:09.803Z

Reserved: 2026-11-20T12:00:56.492Z

Link: CVE-2026-133708

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-20T13:18:47.003

Modified: 2026-11-20T13:18:47.003

Link: CVE-2026-133708

cve-icon Redhat

No data.