Skip to content
DayZeroHub
High Not yet writtenCVSS 8.5CVE-2026-133708

CVE-2026-133708: diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing

diffpy diffpy.structure

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133708: high-severity vulnerability (CVSS 8.5) in diffpy diffpy.structure.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.5.

Affected products and versions

diffpy diffpy.structure < 3.5.1

ProductVersionsFixed in
diffpy diffpy.structure< 3.5.1—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-95

Relevant change history

  1. Published

    Preliminary advisory published.