# torch (PyPI)

Tensors and Dynamic neural networks in Python with strong GPU acceleration

- Latest: 2.15.0 (2026-10-28)
- Licence: Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clau
- Downloads: 55561707 last month
- Advisories on the latest version: 0

- CVE-2025-3730 : PyTorch Improper Resource Shutdown or Release vulnerability Fixed in 2.8.0.
- CVE-2026-4538 : 
- CVE-2026-24747 HIGH: PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files Fixed in 2.10.0.
- CVE-2026-24747 :  Fixed in 2.10.0.
- CVE-2025-63396 : 
- CVE-2025-46148 :  Fixed in 2.7.0.
- CVE-2025-46149 :  Fixed in 2.7.0.
- CVE-2025-46150 :  Fixed in 2.7.0.
- CVE-2025-46152 :  Fixed in 2.7.0.
- CVE-2025-46153 :  Fixed in 2.7.0.
- CVE-2025-55551 :  Fixed in 2.9.0.
- CVE-2025-55552 :  Fixed in 2.9.0.
- CVE-2025-55553 :  Fixed in 2.7.1.
- CVE-2025-55554 :  Fixed in 2.9.0.
- CVE-2025-55557 :  Fixed in 2.7.1.
- CVE-2025-55558 :  Fixed in 2.7.1.
- CVE-2025-55560 :  Fixed in 2.7.1.
- CVE-2025-32434 CRITICAL: PyTorch: `torch.load` with `weights_only=True` leads to remote code execution Fixed in 2.6.0.
- CVE-2025-32434 :  Fixed in 2.6.0.
- CVE-2025-3730 MODERATE: PyTorch Improper Resource Shutdown or Release vulnerability Fixed in 2.8.0.
- CVE-2025-3136 : 
- CVE-2025-3121 : 
- CVE-2025-2998 MODERATE: PyTorch is Vulnerable to Memory Consumption through pad_packed_sequence Function
- CVE-2025-3001 LOW: PyTorch is vulnerable to memory corruption through its torch.lstm_cell function Fixed in 2.10.0.
- CVE-2025-3000 LOW: PyTorch is vulnerable to memory corruption through its torch.jit.script function Fixed in 2.13.0.
- CVE-2025-2999 MODERATE: PyTorch is vulnerable to memory corruption through its unpack_sequence function Fixed in 2.9.1.
- CVE-2025-2998 : 
- CVE-2025-2999 : 
- CVE-2025-3000 : 
- CVE-2025-3001 : 
- CVE-2025-2953 LOW: PyTorch susceptible to local Denial of Service Fixed in 2.7.1-rc1.
- CVE-2025-2953 : 
- CVE-2025-2148 LOW: PyTorch Tuple Handler is Vulnerable to Memory Corruption through Manipulation of None Argument
- CVE-2025-2149 LOW: PyTorch: Manipulation of the argument scale/zero_point leads to improper initialization via Quantized Sigmoid Module
- CVE-2025-2148 : 
- CVE-2025-2149 : 
- CVE-2024-48063 :  Fixed in 2.5.0.
- CVE-2024-31584 :  Fixed in 2.2.0.
- CVE-2024-31580 HIGH: PyTorch heap buffer overflow vulnerability Fixed in 2.2.0.
- CVE-2024-31583 HIGH: Pytorch use-after-free vulnerability Fixed in 2.2.0.

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
