CVE-2026-133708: diffpy.structure · Eval Injection
Affects diffpy.structureSource CVE Database V5
Not known to be exploited · CVSS 8.5 High : upgrade to 3.5.1 soon.
Data as of 20 Nov 2026, 13:03 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
Upgrade diffpy.structure to version 3.5.1 or later, where this vulnerability is fixed. Users should avoid parsing untrusted CIF files with vulnerable versions. Since an official fix is available in version 3.5.1, applying this update is the recommended remediation.
Description
diffpy.structure versions prior to 3.5.1 contain a code execution vulnerability due to improper neutralization of directives in dynamically evaluated code. This flaw allows attackers to execute arbitrary Python code by crafting CIF symmetry operations that are passed to the eval() function in the get_symop() method. Exploitation requires local parsing of a maliciously crafted CIF file, leading to code execution with the privileges of the user running the parser.
References
- 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)