VendorsLinux Foundationpytorchall versions
Vulnerabilities

Linux Foundation The Linux Foundation PyTorch

Ranked by severity, then by exploit likelihood. Click a CVE ID for its full record.

31CVEs
CVE-2025-32434
PyTorch: `torch.load` with `weights_only=True` leads to remote code execution
Published 2025-04-18 · Modified
9.8EPSS 0.021
CVE-2024-48063
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 · Analyzed
9.8EPSS 0.016
CVE-2022-45907
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
Published 2022-11-26 · Modified
9.8EPSS 0.012
CVE-2026-24747
PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
Published 2026-01-27 · Modified
8.8EPSS 0.007
CVE-2024-31583
Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.
Published 2024-04-17 · Analyzed
7.8EPSS 0.003
CVE-2026-4538
PyTorch pt2 Loading deserialization
Published 2026-03-22 · Analyzed
7.8EPSS 0.002
CVE-2025-55558
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 · Analyzed
7.5EPSS 0.005
CVE-2025-2148
PyTorch Tuple torch.ops.profiler._call_end_callbacks_on_jit_fut memory corruption
Published 2025-03-10 · Analyzed
7.5EPSS 0.004
CVE-2025-55551
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 · Analyzed
7.5EPSS 0.004
CVE-2025-55552
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 · Analyzed
7.5EPSS 0.004
CVE-2025-55560
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 · Analyzed
7.5EPSS 0.004
CVE-2025-55553
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 · Analyzed
7.5EPSS 0.004
CVE-2025-55557
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 · Analyzed
7.5EPSS 0.004
CVE-2024-31584
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 · Analyzed
5.5EPSS 0.004
CVE-2025-3730
PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of service
Published 2025-04-16 · Analyzed
5.5EPSS 0.003
CVE-2025-3121
PyTorch torch.jit.jit_module_from_flatbuffer memory corruption
Published 2025-04-02 · Analyzed
5.5EPSS 0.003
CVE-2025-2953
PyTorch torch.mkldnn_max_pool2d denial of service
Published 2025-03-30 · Modified
5.5EPSS 0.003
CVE-2025-46152
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 · Analyzed
5.3EPSS 0.005
CVE-2025-46153
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 · Analyzed
5.3EPSS 0.004
CVE-2025-46148
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
Published 2025-09-25 · Analyzed
5.3EPSS 0.004
CVE-2025-46150
In PyTorch before 2.7.0, when torch.compile is used, FractionalMaxPool2d has inconsistent results.
Published 2025-09-25 · Analyzed
5.3EPSS 0.004
CVE-2025-46149
In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.
Published 2025-09-25 · Analyzed
5.3EPSS 0.004
CVE-2025-55554
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
Published 2025-09-25 · Analyzed
5.3EPSS 0.003
CVE-2025-3000
PyTorch torch.jit.script memory corruption
Published 2025-03-31 · Analyzed
5.3EPSS 0.002
CVE-2025-2998
PyTorch torch.nn.utils.rnn.pad_packed_sequence memory corruption
Published 2025-03-31 · Analyzed
5.3EPSS 0.002
CVE-2025-2999
PyTorch torch.nn.utils.rnn.unpack_sequence memory corruption
Published 2025-03-31 · Analyzed
5.3EPSS 0.002
CVE-2025-3001
PyTorch torch.lstm_cell memory corruption
Published 2025-03-31 · Analyzed
5.3EPSS 0.002
CVE-2025-3136
PyTorch CUDACachingAllocator.cpp torch.cuda.memory.caching_allocator_delete memory corruption
Published 2025-04-03 · Analyzed
4.8EPSS 0.003
CVE-2024-31580
PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
Published 2024-04-17 · Analyzed
4.0EPSS 0.002
CVE-2025-63396
An issue was discovered in PyTorch v2.5 and v2.7.1. Omission of profiler.stop() can cause torch.profiler.profile (PythonTracer) to crash or hang during finalization, leading to a Denial of Service (DoS).
Published 2025-11-12 · Modified
3.3EPSS 0.001
CVE-2025-2149
PyTorch Quantized Sigmoid Module nnq_Sigmoid initialization
Published 2025-03-10 · Analyzed
2.5EPSS 0.003