← Back

Pytorch

pytorch

Vendor: Linuxfoundation • 31 CVEs

CVEs (31)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Linuxfoundation
1Pytorch
Jun 17, 2026
Mar 22, 2026
1.9 LOW· v4
7.8 HIGH· v3
4.3 MEDIUM· v2
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...Show more
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 was informed of the problem early through a pull request but has not reacted yet.Show less
1Linuxfoundation
1Pytorch
Jul 15, 2026
Jan 27, 2026
N/A· v4
8.8 HIGH· v3
N/A· v2
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 loa...Show more
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 and potentially lead to arbitrary code execution. Version 2.10.0 fixes the issue.Show less
1Linuxfoundation
1Pytorch
Jul 5, 2026
Nov 12, 2025
N/A· v4
3.3 LOW· v3
N/A· v2
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).
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
7.5 HIGH· v3
N/A· v2
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.
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
7.5 HIGH· v3
N/A· v2
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 (D...Show more
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).Show less
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
7.5 HIGH· v3
N/A· v2
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).
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
5.3 MEDIUM· v3
N/A· v2
pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
7.5 HIGH· v3
N/A· v2
A syntax error in the component proxy_tensor.py of pytorch v2.7.0 allows attackers to cause a Denial of Service (DoS).
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
7.5 HIGH· v3
N/A· v2
pytorch v2.8.0 was discovered to display unexpected behavior when the components torch.rot90 and torch.randn_like are used together.
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
7.5 HIGH· v3
N/A· v2
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.
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
5.3 MEDIUM· v3
N/A· v2
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 fo...Show more
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.Show less
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
5.3 MEDIUM· v3
N/A· v2
In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
5.3 MEDIUM· v3
N/A· v2
In PyTorch before 2.7.0, when torch.compile is used, FractionalMaxPool2d has inconsistent results.
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
5.3 MEDIUM· v3
N/A· v2
In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.
1Linuxfoundation
1Pytorch
Jun 17, 2026
Sep 25, 2025
N/A· v4
5.3 MEDIUM· v3
N/A· v2
In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
1Linuxfoundation
1Pytorch
Jun 17, 2026
Apr 18, 2025
9.3 CRITICAL· v4
9.8 CRITICAL· v3
N/A· v2
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) vulne...Show more
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.load with weights_only=True. This issue has been patched in version 2.6.0.Show less
1Linuxfoundation
1Pytorch
Jun 17, 2026
Apr 16, 2025
4.8 MEDIUM· v4
5.5 MEDIUM· v3
1.7 LOW· v2
A vulnerability, which was classified as problematic, was found in PyTorch 2.6.0. Affected is the function torch.nn.functional.ctc_loss of the file aten/src/ATen/native/LossCTC.cpp. The manipulation leads to denial of se...Show more
A vulnerability, which was classified as problematic, was found in PyTorch 2.6.0. Affected is the function torch.nn.functional.ctc_loss of the file aten/src/ATen/native/LossCTC.cpp. The manipulation leads to denial of service. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The name of the patch is 46fc5d8e360127361211cb237d5f9eef0223e567. It is recommended to apply a patch to fix this issue. The security policy of the project warns to use unknown models which might establish malicious effects.Show less
1Linuxfoundation
1Pytorch
Jun 17, 2026
Apr 3, 2025
4.8 MEDIUM· v4
3.3 LOW· v3
1.7 LOW· v2
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 manipul...Show more
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 exploit has been disclosed to the public and may be used.Show less
1Linuxfoundation
1Pytorch
Jun 17, 2026
Apr 2, 2025
4.8 MEDIUM· v4
5.5 MEDIUM· v3
1.7 LOW· v2
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...Show more
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.Show less
1Linuxfoundation
1Pytorch
Jun 17, 2026
Mar 31, 2025
4.8 MEDIUM· v4
5.3 MEDIUM· v3
4.3 MEDIUM· v2
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 expl...Show more
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.Show less