CVE-2026-133708
published high CVSS 4.0 · 8.5diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| diffpy | — | diffpy.structure0 to < 3.5.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| diffpy | diffpy.structure | 0 to < 3.5.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
5- https://github.com/diffpy/diffpy.structure/blob/3.5.0/src/diffpy/structure/parsers/p_cif.py
- https://github.com/diffpy/diffpy.structure/commit/f4be1d534fa9cf488c8e83f258e59fe09b526f62
- https://github.com/diffpy/diffpy.structure/issues/204
- diffpy.structure 3.5.1 Release Notes https://github.com/diffpy/diffpy.structure/releases/tag/3.5.1
- VulnCheck Advisory: diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing https://www.vulncheck.com/advisories/diffpy-structure-before-3.5.1-code-execution-via-eval-in-get-symop-cif-parsing
Provider assertions
2VulnCheck · cna
diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 61b762bcfecac916645433a52cffb5ace3bf4728381d7aa096b2eb88ecb2b5b5
- Ingested
- 28 Nov 2026, 02:23:40 UTC
- Source record
- Official CVE record