CVE-2026-133708
CVE-2026-133708 · diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing
CVSS 8.5 · High · EPSS 0.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- diffpy.structureUpdate to 3.5.1
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
diffpy.structure
- Versions
- ≥ 0, < 3.5.1: Affected (semver)
Update to 3.5.1
Original sources
- https://github.com/diffpy/diffpy.structure/issues/204
- https://github.com/diffpy/diffpy.structure/commit/f4be1d534fa9cf488c8e83f258e59fe09b526f62
- https://github.com/diffpy/diffpy.structure/blob/3.5.0/src/diffpy/structure/parsers/p_cif.py
- https://github.com/diffpy/diffpy.structure/releases/tag/3.5.1
- https://www.vulncheck.com/advisories/diffpy-structure-before-3.5.1-code-execution-via-eval-in-get-symop-cif-parsing
- https://nvd.nist.gov/vuln/detail/CVE-2026-133708