diffpy.structure before 3.5.1 contains a code execution vulnerability that allows attackers to run Python code by
Source GCVE Database
Not known to be exploited · CVSS 8.5 High : upgrade to 3.5.1 soon.
Data as of 20 Nov 2026, 16:20 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
- Patch
- Available – fixed in 3.5.1
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade diffpy.structure to 3.5.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| diffpydiffpy.structure | Affected
| Fixed in
|
PyPIdiffpy.structurepkg:pypi/diffpy.structureOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fixed version 3.5.1 or later should be used to remediate this vulnerability. Until patched, users should avoid parsing untrusted CIF files with vulnerable versions of diffpy.structure. No vendor advisory content is provided to indicate alternative mitigations or if the issue is already mitigated.
Description
diffpy.structure versions prior to 3.5.1 contain a code execution vulnerability. This flaw allows attackers to execute arbitrary Python code by supplying crafted CIF symmetry operations that are passed unsafely to the eval() function in the get_symop() method. Exploitation occurs when parsing a maliciously crafted CIF file locally, enabling code execution with the privileges of the user running the parser.
References
- nvd.nist.gov/vuln/detail/CVE-2026-133708 (opens in a new tab)
- github.com/diffpy/diffpy.structure/issues/204 (opens in a new tab)
- github.com/diffpy/diffpy.structure/commit/f4be1d534fa9cf488c8e83f258e59fe09b526f62 (opens in a new tab)
- github.com/diffpy/diffpy.structure/blob/3.5.0/src/diffpy/structure/parsers/p_cif.py (opens in a new tab)
- github.com/diffpy/diffpy.structure/releases/tag/3.5.1 (opens in a new tab)
- vulncheck.com/advisories/diffpy-structure-before-3.5.1-code-execution-via-eval-in-get-symop-cif-parsing (opens in a new tab)