{"id":"CVE-2026-133708","aliases":["CVE-2026-133708"],"related":[],"kind":"vulnerability","state":"published","title":"diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-20T12:17:09.803Z","modified":"2026-11-28T02:05:46.040Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-95"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.5.1","status":"affected"}],"vendor":"diffpy","product":"diffpy.structure","repo":"https://github.com/diffpy/diffpy.structure","source":"cvelist"}],"references":[{"url":"https://github.com/diffpy/diffpy.structure/issues/204","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/diffpy/diffpy.structure/commit/f4be1d534fa9cf488c8e83f258e59fe09b526f62","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/diffpy/diffpy.structure/blob/3.5.0/src/diffpy/structure/parsers/p_cif.py","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/diffpy/diffpy.structure/releases/tag/3.5.1","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/diffpy-structure-before-3.5.1-code-execution-via-eval-in-get-symop-cif-parsing","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Dilanka Kaushal Hewage (r3vpwnx)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-25T04:01:34.148Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-133708","url":"https://www.cve.org/CVERecord?id=CVE-2026-133708","licence":"CVE Terms of Use","modified":"2026-11-28T02:05:46.040Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-133708","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133708","licence":"Public domain","modified":"2026-11-25T04:17:26.287Z"}],"updatedAt":"2026-11-28T02:27:11.068Z","epss":{"score":0.0027,"percentile":0.20517,"date":"2026-12-01T12:00:22.000Z"}}