cvelo
P2 · HighCVSS 7.8EPSS 0.3%

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

  • CVE-2026-133708
  • GHSA-3vfj-3hfg-rm35
  • EUVD-2026-131539

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.

Text from the CVE.org record.

Recommendation

  • diffpy diffpy.structure

    • If you run a version before 3.5.1update to 3.5.1 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • diffpy diffpy.structure

    Affected versionsFixed in
    before 3.5.13.5.1

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.