torch vulnerabilities

Tensors and Dynamic neural networks in Python with strong GPU acceleration

Registry
PyPI
Latest
2.15.0

31 known advisories

The latest version, 2.15.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:pip install 'torch>=2.15.0'

Is your project on an affected torch?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for torch

  • LowCVE-2026-4538PYSEC-2026-13922 Mar 2026

    No summary published

    Affected
    <=2.10.0
    Fixed in
    No fix released
  • HighCVE-2026-24747GHSA-63cw-57p8-fm3p27 Jan 2026

    PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files

    Affected
    <2.10.0
    Fixed in
    2.10.0
  • LowCVE-2025-63396PYSEC-2025-21012 Nov 2025

    No summary published

    Affected
    <=2.5.0-NA · <=2.7.1-NA
    Fixed in
    No fix released
  • LowCVE-2025-55560PYSEC-2025-20925 Sept 2025

    No summary published

    Affected
    <2.7.1
    Fixed in
    2.7.1
  • LowCVE-2025-55558PYSEC-2025-20825 Sept 2025

    No summary published

    Affected
    <2.7.1
    Fixed in
    2.7.1
  • LowCVE-2025-55557PYSEC-2025-20725 Sept 2025

    No summary published

    Affected
    <2.7.1
    Fixed in
    2.7.1
  • LowCVE-2025-55554PYSEC-2025-20625 Sept 2025

    No summary published

    Affected
    <2.9.0
    Fixed in
    2.9.0
  • LowCVE-2025-55553PYSEC-2025-20525 Sept 2025

    No summary published

    Affected
    <2.7.1
    Fixed in
    2.7.1
  • LowCVE-2025-55552PYSEC-2025-20425 Sept 2025

    No summary published

    Affected
    <2.9.0
    Fixed in
    2.9.0
  • LowCVE-2025-55551PYSEC-2025-20325 Sept 2025

    No summary published

    Affected
    <2.9.0
    Fixed in
    2.9.0
  • LowCVE-2025-46153PYSEC-2025-20225 Sept 2025

    No summary published

    Affected
    >=2.6.0 <2.7.0
    Fixed in
    2.7.0
  • LowCVE-2025-46152PYSEC-2025-20125 Sept 2025

    No summary published

    Affected
    >=2.6.0 <2.7.0
    Fixed in
    2.7.0
  • LowCVE-2025-46150PYSEC-2025-20025 Sept 2025

    No summary published

    Affected
    >=2.6.0 <2.7.0
    Fixed in
    2.7.0
  • LowCVE-2025-46149PYSEC-2025-19925 Sept 2025

    No summary published

    Affected
    >=2.6.0 <2.7.0
    Fixed in
    2.7.0
  • LowCVE-2025-46148PYSEC-2025-19825 Sept 2025

    No summary published

    Affected
    <2.7.0
    Fixed in
    2.7.0
  • CriticalCVE-2025-32434GHSA-53q9-r3pm-6pq618 Apr 2025

    PyTorch: `torch.load` with `weights_only=True` leads to remote code execution

    Affected
    <2.6.0
    Fixed in
    2.6.0
  • MediumCVE-2025-3730GHSA-887c-mr87-cxwp16 Apr 2025

    PyTorch Improper Resource Shutdown or Release vulnerability

    Affected
    <2.8.0
    Fixed in
    2.8.0
  • LowCVE-2025-3136PYSEC-2025-1973 Apr 2025

    No summary published

    Affected
    <=2.6.0-NA
    Fixed in
    No fix released
  • LowCVE-2025-3121PYSEC-2025-1962 Apr 2025

    No summary published

    Affected
    <=2.6.0-NA
    Fixed in
    No fix released
  • LowCVE-2025-3001GHSA-qfhq-4f3w-5fph31 Mar 2025

    PyTorch is vulnerable to memory corruption through its torch.lstm_cell function

    Affected
    <2.10.0
    Fixed in
    2.10.0
  • MediumCVE-2025-2998GHSA-f4hp-rmr7-r7v831 Mar 2025

    PyTorch is Vulnerable to Memory Consumption through pad_packed_sequence Function

    Affected
    <=2.6.0
    Fixed in
    No fix released
  • MediumCVE-2025-2999GHSA-vgrw-7cvw-pwgx31 Mar 2025

    PyTorch is vulnerable to memory corruption through its unpack_sequence function

    Affected
    <2.9.1
    Fixed in
    2.9.1
  • LowCVE-2025-3000GHSA-rrmf-rvhw-rf4731 Mar 2025

    PyTorch is vulnerable to memory corruption through its torch.jit.script function

    Affected
    <2.13.0
    Fixed in
    2.13.0
  • LowCVE-2025-2953GHSA-3749-ghw9-m3mg30 Mar 2025

    PyTorch susceptible to local Denial of Service

    Affected
    <2.7.1-rc1
    Fixed in
    2.7.1-rc1
  • LowCVE-2025-2149GHSA-x3gm-94wq-g97510 Mar 2025

    PyTorch: Manipulation of the argument scale/zero_point leads to improper initialization via Quantized Sigmoid Module

    Affected
    <=2.6.0
    Fixed in
    No fix released
  • LowCVE-2025-2148GHSA-c678-jfcj-6jmf10 Mar 2025

    PyTorch Tuple Handler is Vulnerable to Memory Corruption through Manipulation of None Argument

    Affected
    <=2.6.0
    Fixed in
    No fix released
  • LowCVE-2024-48063PYSEC-2024-25929 Oct 2024

    No summary published

    Affected
    <2.5.0
    Fixed in
    2.5.0
  • LowCVE-2024-31584PYSEC-2024-25019 Apr 2024

    No summary published

    Affected
    <2.2.0
    Fixed in
    2.2.0
  • HighCVE-2024-31580GHSA-5pcm-hx3q-hm9417 Apr 2024

    PyTorch heap buffer overflow vulnerability

    Affected
    <2.2.0
    Fixed in
    2.2.0
  • HighCVE-2024-31583GHSA-pg7h-5qx3-wjr317 Apr 2024

    Pytorch use-after-free vulnerability

    Affected
    <2.2.0
    Fixed in
    2.2.0
  • CriticalCVE-2022-45907GHSA-47fc-vmwq-366v26 Nov 2022

    PyTorch vulnerable to arbitrary code execution

    Affected
    <1.13.1
    Fixed in
    1.13.1

Is your torch version vulnerable?

Which of your client projects still run an old torch?

NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other PyPI packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.