# CVE-2026-133708: diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-11-20T12:17:09.803Z
- Modified: 2026-11-28T02:05:46.040Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- diffpy diffpy.structure: before 3.5.1

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/diffpy/diffpy.structure/issues/204> (issue-tracking)
- <https://github.com/diffpy/diffpy.structure/commit/f4be1d534fa9cf488c8e83f258e59fe09b526f62> (patch)
- <https://github.com/diffpy/diffpy.structure/blob/3.5.0/src/diffpy/structure/parsers/p_cif.py> (technical-description)
- <https://github.com/diffpy/diffpy.structure/releases/tag/3.5.1> (release-notes)
- <https://www.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](https://www.cve.org/CVERecord?id=CVE-2026-133708), CVE Terms of Use, modified 2026-11-28
- NVD: [CVE-2026-133708](https://nvd.nist.gov/vuln/detail/CVE-2026-133708), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-133708 · Whole record: https://cve.day/CVE-2026-133708.json · Rebuilt by cve.day 2026-11-28T02:27:11.068Z
