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

High 8.5 Published Updated
Exploited in the wild
Not known
Fix
3.5.1

What is CVE-2026-133708?

CVE-2026-133708 is a high-severity vulnerability in diffpy.structure, published on 20 Nov 2026.

Official 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.

Weakness: CWE-95

Which versions are affected by CVE-2026-133708?

1 open source package ship an affected version, including diffpy.structure.

PackageAffectedFixed in
diffpy.structure PyPI
pkg:pypi/diffpy.structure
All versions3.5.1

How do I fix CVE-2026-133708?

Upgrade diffpy.structure to 3.5.1 or later.

Is CVE-2026-133708 being exploited?

There is no known exploitation of CVE-2026-133708 in the wild and no public exploit code.

Sources

Also known as GHSA-3vfj-3hfg-rm35.

Is CVE-2026-133708 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free