In all versions of PyTorch's TorchServe, a predictable extraction directory in /tmp lets a local user swap the model handler and run code as the TorchServe service account leading to local privilege escalation.
Product
debian/pytorch vulnerabilities
31 published CVES affecting debian/pytorch, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 31
- Critical
- 2
- High
- 9
- Medium
- 16
- Low
- 3
- Unscored
- 1
- CISA KEV
- 0
Latest debian/pytorch CVEs
Newest publication first · page 1 of 2
-
HighCVSS 7.8 EPSS 0.15%
-
MediumCVSS 4.8 EPSS 0.25%
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...
-
HighCVSS 8.8 EPSS 0.80%
PyTorch is a Python package that provides tensor computation. Prior to version 2.10.0, a vulnerability in PyTorch's weights_only unpickler allows an attacker to craft a malicious checkpoint file (.pth) that, when loaded with torch.load(..., weights_only=True), can corrupt memory...
-
DLA-4389-1 pytorch - security update
PublishedUnknown -
LowCVSS 3.3 EPSS 0.13%
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).
-
HighCVSS 7.5 EPSS 0.41%
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.
-
HighCVSS 7.5 EPSS 0.45%
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).
-
HighCVSS 7.5 EPSS 0.41%
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).
-
MediumCVSS 5.3 EPSS 0.32%
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
-
HighCVSS 7.5 EPSS 0.41%
A syntax error in the component proxy_tensor.py of pytorch v2.7.0 allows attackers to cause a Denial of Service (DoS).
-
HighCVSS 7.5 EPSS 0.42%
pytorch v2.8.0 was discovered to display unexpected behavior when the components torch.rot90 and torch.randn_like are used together.
-
HighCVSS 7.5 EPSS 0.42%
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.
-
MediumCVSS 5.3 EPSS 0.42%
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.
-
MediumCVSS 5.3 EPSS 0.45%
In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
-
MediumCVSS 5.3 EPSS 0.39%
In PyTorch before 2.7.0, when torch.compile is used, FractionalMaxPool2d has inconsistent results.
-
CVE-2025-46149 In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.
PublishedMediumCVSS 5.3 EPSS 0.36%In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.
-
MediumCVSS 5.3 EPSS 0.40%
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
-
MediumCVSS 4.8 EPSS 0.19%
A vulnerability was found in PyTorch 2.6.0+cu124. It has been rated as problematic. Affected by this issue is the function torch.cuda.nccl.reduce of the file torch/cuda/nccl.py. The manipulation leads to denial of service. It is possible to launch the attack on the local host. Th...
-
CVE-2025-32434 PyTorch: `torch.load` with `weights_only=True` leads to remote code execution
PublishedCriticalCVSS 9.3 EPSS 2.4%PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command Execution (RCE) vulnerability exists in PyTorch when loading a model using torch....
-
MediumCVSS 4.8 EPSS 0.27%
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 approa...
-
MediumCVSS 4.8 EPSS 0.28%
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 an...
-
MediumCVSS 4.8 EPSS 0.20%
A vulnerability classified as critical was found in PyTorch 2.6.0. This vulnerability affects the function torch.lstm_cell. The manipulation leads to memory corruption. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.
-
MediumCVSS 4.8 EPSS 0.20%
A vulnerability classified as critical has been found in PyTorch 2.6.0. This affects the function torch.jit.script. The manipulation leads to memory corruption. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.
-
MediumCVSS 4.8 EPSS 0.20%
A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is the function torch.nn.utils.rnn.unpack_sequence. The manipulation leads to memory corruption. Attacking locally is a requirement. The exploit has been disclosed to the public and...
-
MediumCVSS 4.8 EPSS 0.20%
A vulnerability was found in PyTorch 2.6.0. It has been declared as critical. Affected by this vulnerability is the function torch.nn.utils.rnn.pad_packed_sequence. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been...
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.