{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.5.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "f4be1d534fa9cf488c8e83f258e59fe09b526f62"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "3.5.1",
                "range": [
                  {
                    "fixed": "3857a1efbaceff3cdd8c30ff41fdc4ae7b7f0143"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3857a1efbaceff3cdd8c30ff41fdc4ae7b7f0143"
            },
            {
              "fixed": "f4be1d534fa9cf488c8e83f258e59fe09b526f62"
            }
          ],
          "repo": "https://github.com/diffpy/diffpy.structure",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-95"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133708.json"
  },
  "details": "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.",
  "id": "CVE-2026-133708",
  "modified": "2026-11-20T13:45:27.245324267Z",
  "published": "2026-11-20T12:17:09.803Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133708.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/diffpy/diffpy.structure"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/diffpy/diffpy.structure/blob/3.5.0/src/diffpy/structure/parsers/p_cif.py"
    },
    {
      "type": "FIX",
      "url": "https://github.com/diffpy/diffpy.structure/commit/f4be1d534fa9cf488c8e83f258e59fe09b526f62"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/diffpy/diffpy.structure/issues/204"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/diffpy/diffpy.structure/releases/tag/3.5.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-133708"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/diffpy-structure-before-3.5.1-code-execution-via-eval-in-get-symop-cif-parsing"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "diffpy.structure before 3.5.1 Code Execution via eval in get_symop CIF Parsing"
}