HackerFeeds
All CVEs

CVE-2026-133708: diffpy.structure Eval Injection

HIGH7.8

Published 2026-11-20 · Updated 2026-12-04 · Source disclosure@vulncheck.com

Not known to be exploited · high severity — update diffpy.structure to 3.5.1 or later in your next patch cycle.

What to do

  1. Update diffpy.structure to version 3.5.1 or later. Versions before 3.5.1 are affected.
  2. Until it is patched, limit who has a local account on systems running diffpy.structure.
  3. Restrict access to the affected feature to trusted users until the fix is applied.
  4. Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.

Affected and fixed versions

ProductAffectedFixed in
diffpy.structure< 3.5.13.5.1

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality, integrity and availability is rated high.

CVSS 3.1 metrics for CVE-2026-133708
Attack vectorLocalExploiting it requires local access to the system, or getting a user to open a crafted file.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredNoneThe attacker does not need an account.
User interactionRequiredA victim has to take an action, such as opening a link or file.
ConfidentialityHighTotal loss of confidentiality.
IntegrityHighTotal loss of integrity.
AvailabilityHighTotal loss of availability.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: Eval Injection

Attacker-controlled input is passed to a code evaluation function, which usually means arbitrary code execution.

Classified as CWE-95.

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.

Advisory text as published in the NVD record.

View on NVD