ADVISORIES

Vulnerability

CVE-2022-45907

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.

4 advisories report this vulnerability, across 3 ecosystems.

Critical severity All PyPI 2Debian 1Ubuntu 1

Advisories in PyPI

  • GHSA-47fc-vmwq-366v

    PyTorch vulnerable to arbitrary code execution

    Critical CVE-2022-45907 PyPI Updated 13 November 2024
  • PYSEC-2022-43015

    In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.

    CVE-2022-45907 PyPI Updated 10 June 2026

References