CVE-2026-133708 diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing
HighCVSS 8.5
EPSS 0.27%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi diffpy.structure | < 3.5.1 | 3.5.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi diffpy.structure | < 3.5.1 | 3.5.1 |
References
- github.com issue-tracking
- github.com patch
- github.com technical-description
- diffpy.structure 3.5.1 Release Notes release-notes
- VulnCheck Advisory: diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing third-party-advisory
- ENISA EUVD EUVD-2026-131539 third-party-advisory
- nvd.nist.gov