Known vulnerabilities and malicious package reports for torch on PyPI, live from OSV, with CISA KEV exploitation status and EPSS scores.
Known package reports 0 malicious package reports and 31 vulnerabilities returned by OSV. Check a specific version to see which reports apply.
In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. NOTE: this is disputed by multiple parties because this is intended behavior in PyTorch distributed computing.
Published 2024-10-29 .
Updated 2025-07-16 .
Affected ranges: introduced 0, fixed 2.5.0.
Fix versions reported by the advisory: 2.5.0.
Severity: CRITICAL.
CVE-2024-48063
PyTorch: `torch.load` with `weights_only=True` leads to remote code execution
Published 2025-04-18 .
Updated 2026-08-07 .
Affected ranges: introduced 0, fixed 2.6.0.
Fix versions reported by the advisory: 2.6.0.
Severity: CRITICAL.
CVE-2025-32434
PyTorch vulnerable to arbitrary code execution
Published 2022-11-26 .
Updated 2024-11-13 .
Affected ranges: introduced 0, fixed 1.13.1.
Fix versions reported by the advisory: 1.13.1.
Severity: CRITICAL.
CVE-2022-45907
PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
Published 2026-01-27 .
Updated 2026-11-04 .
Affected ranges: introduced 0, fixed 2.10.0.
Fix versions reported by the advisory: 2.10.0.
Severity: HIGH.
CVE-2026-24747
A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d, torch.nn.functional.hardshrink, and torch.Tensor.view-torch.mv() and is compiled by Inductor, leading to a Denial of Service (DoS).
Published 2025-09-25 .
Updated 2026-05-20 .
Affected ranges: introduced 0, fixed 2.7.1.
Fix versions reported by the advisory: 2.7.1.
Severity: HIGH.
CVE-2025-55558
An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of torch.Tensor.to_sparse() and torch.Tensor.to_dense() and is compiled by Inductor.
Published 2025-09-25 .
Updated 2026-05-20 .
Affected ranges: introduced 0, fixed 2.7.1.
Fix versions reported by the advisory: 2.7.1.
Severity: HIGH.
CVE-2025-55560
A Name Error occurs in pytorch v2.7.0 when a PyTorch model consists of torch.cummin and is compiled by Inductor, leading to a Denial of Service (DoS).
Published 2025-09-25 .
Updated 2026-05-20 .
Affected ranges: introduced 0, fixed 2.7.1.
Fix versions reported by the advisory: 2.7.1.
Severity: HIGH.
CVE-2025-55557
A syntax error in the component proxy_tensor.py of pytorch v2.7.0 allows attackers to cause a Denial of Service (DoS).
Published 2025-09-25 .
Updated 2026-05-20 .
Affected ranges: introduced 0, fixed 2.7.1.
Fix versions reported by the advisory: 2.7.1.
Severity: HIGH.
CVE-2025-55553
PyTorch Tuple Handler is Vulnerable to Memory Corruption through Manipulation of None Argument
Published 2025-03-10 .
Updated 2026-06-09 .
Affected ranges: introduced 0, last_affected 2.6.0.
Severity: HIGH.
CVE-2025-2148
pytorch v2.8.0 was discovered to display unexpected behavior when the components torch.rot90 and torch.randn_like are used together.
Published 2025-09-25 .
Updated 2026-05-20 .
Affected ranges: introduced 0, fixed 2.9.0.
Fix versions reported by the advisory: 2.9.0.
Severity: HIGH.
CVE-2025-55552
In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
Published 2025-09-25 .
Updated 2026-05-20 .
Reported affected releases: 2.6.0.
Affected ranges: introduced 2.6.0, fixed 2.7.0.
Fix versions reported by the advisory: 2.7.0.
Severity: MEDIUM.
CVE-2025-46152
An issue in the component torch.linalg.lu of pytorch v2.8.0 allows attackers to cause a Denial of Service (DoS) when performing a slice operation.
Published 2025-09-25 .
Updated 2026-05-20 .
Affected ranges: introduced 0, fixed 2.9.0.
Fix versions reported by the advisory: 2.9.0.
Severity: HIGH.
CVE-2025-55551
PyTorch before 3.7.0 has a bernoulli_p decompose function in decompositions.py even though it lacks full consistency with the eager CPU implementation, negatively affecting nn.Dropout1d, nn.Dropout2d, and nn.Dropout3d for fallback_random=True.
Published 2025-09-25 .
Updated 2026-05-20 .
Reported affected releases: 2.6.0.
Affected ranges: introduced 2.6.0, fixed 2.7.0.
Fix versions reported by the advisory: 2.7.0.
Severity: MEDIUM.
CVE-2025-46153
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Published 2025-09-25 .
Updated 2026-05-20 .
Affected ranges: introduced 0, fixed 2.7.0.
Fix versions reported by the advisory: 2.7.0.
Severity: MEDIUM.
CVE-2025-46148
In PyTorch before 2.7.0, when torch.compile is used, FractionalMaxPool2d has inconsistent results.
Published 2025-09-25 .
Updated 2026-05-20 .
Reported affected releases: 2.6.0.
Affected ranges: introduced 2.6.0, fixed 2.7.0.
Fix versions reported by the advisory: 2.7.0.
Severity: MEDIUM.
CVE-2025-46150
In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.
Published 2025-09-25 .
Updated 2026-05-20 .
Reported affected releases: 2.6.0.
Affected ranges: introduced 2.6.0, fixed 2.7.0.
Fix versions reported by the advisory: 2.7.0.
Severity: MEDIUM.
CVE-2025-46149
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
Published 2025-09-25 .
Updated 2026-05-20 .
Affected ranges: introduced 0, fixed 2.9.0.
Fix versions reported by the advisory: 2.9.0.
Severity: MEDIUM.
CVE-2025-55554
Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp.
Published 2024-04-19 .
Updated 2025-06-04 .
Affected ranges: introduced 0, fixed 7c35874ad664e74c8e4252d67521f3986eadb0e6, fixed 7c35874ad664e74c8e4252d67521f3986eadb0e6; introduced 0, fixed 2.2.0.
Fix versions reported by the advisory: 2.2.0.
Severity: MEDIUM.
CVE-2024-31584
A vulnerability was identified in PyTorch 2.10.0. The affected element is an unknown function of the component pt2 Loading Handler. The manipulation leads to deserialization. The attack can only be performed from a local environment. The exploit is publicly available and might be used. The project …
Published 2026-03-22 .
Updated 2026-05-21 .
Affected ranges: introduced 0, last_affected 2.10.0.
Severity: HIGH.
CVE-2026-4538
Pytorch use-after-free vulnerability
Published 2024-04-17 .
Updated 2025-06-11 .
Affected ranges: introduced 0, fixed 2.2.0.
Fix versions reported by the advisory: 2.2.0.
Severity: HIGH.
CVE-2024-31583
PyTorch susceptible to local Denial of Service
Published 2025-03-30 .
Updated 2026-09-10 .
Affected ranges: introduced 0, fixed 2.7.1-rc1.
Fix versions reported by the advisory: 2.7.1-rc1.
Severity: MEDIUM.
CVE-2025-2953
PyTorch Improper Resource Shutdown or Release vulnerability
Published 2025-04-16 .
Updated 2026-09-10 .
Affected ranges: introduced 0, fixed 2.8.0.
Fix versions reported by the advisory: 2.8.0.
Severity: MEDIUM.
CVE-2025-3730
A vulnerability classified as problematic has been found in PyTorch 2.6.0. Affected is the function torch.jit.jit_module_from_flatbuffer. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.
Published 2025-04-02 .
Updated 2026-05-21 .
Affected ranges: introduced 0, last_affected 2.6.0-NA.
Severity: MEDIUM.
CVE-2025-3121
A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0. This issue affects the function torch.cuda.memory.caching_allocator_delete of the file c10/cuda/CUDACachingAllocator.cpp. The manipulation leads to memory corruption. An attack has to be approached locally. The e…
Published 2025-04-03 .
Updated 2026-05-21 .
Affected ranges: introduced 0, last_affected 2.6.0-NA.
Severity: LOW.
CVE-2025-3136
PyTorch heap buffer overflow vulnerability
Published 2024-04-17 .
Updated 2026-07-27 .
Affected ranges: introduced 0, fixed 2.2.0.
Fix versions reported by the advisory: 2.2.0.
Severity: MEDIUM.
CVE-2024-31580
More reports are available in the interactive package view.
Source: OSV , including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.