CVE-2026-133708 json
diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing
published yesterday modified yesterday also EUVD-2026-131539
- cvss
- 8.5
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- diffpy diffpy.structure 3.5.1
Is CVE-2026-133708 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-21).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.5 | 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 |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Inferred packages
No advisory lists a package for this vulnerability yet. The CVE names these as products and links their GitHub repository, and the package registry names the same repository, so they are probably the affected packages. Low confidence: the versions are the CVE’s own for the product, and a stack check reports the package as unchecked when there are none.
| ecosystem | package | repository | affected |
|---|---|---|---|
| pypi | diffpy-structure | diffpy/diffpy.structure | < 3.5.1 |
Affected products
- diffpy diffpy.structure
Classification
- Weakness
-
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
References
-
github.com
/diffpy/diffpy.structure/commit/f4be1d534fa9cf488c8e83f258e59fe09b526f62
patch
-
github.com
/diffpy/diffpy.structure/issues/204
issue-tracking
-
github.com
/diffpy/diffpy.structure/blob/3.5.0/src/diffpy/structure/parsers/p_cif.py
technical-description
-
github.com
/diffpy/diffpy.structure/releases/tag/3.5.1
release-notes
-
vulncheck.com
/advisories/diffpy-structure-before-3.5.1-code-execution-via-eval-in-get-symop-cif-parsing
third-party-advisory
Sources
- CVE List CVE-2026-133708
- NVD CVE-2026-133708
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.