{"id":"CVE-2026-133708","aliases":[],"title":"diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing","originalDescription":"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.","severity":{"cvss":8.5,"vector":"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","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00224,"percentile":0.07614},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"diffpy.structure","range":">=0, <3.5.1","fixed":"3.5.1"}],"references":[{"url":"https://github.com/diffpy/diffpy.structure/issues/204","type":"issue-tracking"},{"url":"https://github.com/diffpy/diffpy.structure/commit/f4be1d534fa9cf488c8e83f258e59fe09b526f62","type":"patch"},{"url":"https://github.com/diffpy/diffpy.structure/blob/3.5.0/src/diffpy/structure/parsers/p_cif.py","type":"technical-description"},{"url":"https://github.com/diffpy/diffpy.structure/releases/tag/3.5.1","type":"release-notes"},{"url":"https://www.vulncheck.com/advisories/diffpy-structure-before-3.5.1-code-execution-via-eval-in-get-symop-cif-parsing","type":"third-party-advisory"}],"sources":[{"name":"nvd","at":"2026-11-25T04:21:08.593Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133708","license":"NVD terms of use","firstSeenAt":"2026-11-20T13:40:08.447Z"},{"name":"cvelistV5","at":"2026-12-01T15:10:06.758Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-133708","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T12:31:33.259Z"}],"firstSeenAt":"2026-11-20T12:31:33.259Z","publishedAt":"2026-11-20T12:17:09.803Z","modifiedAt":"2026-11-28T02:05:46.040Z"}