← VULNERABILITIES

CVE-2026-133708

diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing

High · 8.5Fix available
CVSS
8.5
EPSS
0.22% (p8)
Published
2026-11-20
Age
11d old
Modified
2026-11-28
Product
diffpy diffpy.structure

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

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.

Fixed in

3.5.1

Affected packages

EcosystemPackageRangeFixed
vendordiffpy.structure>=0, <3.5.13.5.1

Sources

  • NVD · first seen 11d ago · NVD terms of use
  • CVE List · first seen 11d ago · CVE Terms of Use

References

JSON