Linuxfoundation Pytorch vulnerabilities

30 known vulnerabilities affecting linuxfoundation/pytorch.

Total CVEs
30
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL3HIGH8MEDIUM16LOW3

Vulnerabilities

Page 1 of 2
CVE-2026-24747HIGHCVSS 8.8fixed in 2.10.02026-01-27
CVE-2026-24747 [HIGH] CWE-94 CVE-2026-24747: PyTorch is a Python package that provides tensor computation. Prior to version 2.10.0, a vulnerabili 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 fix
ghsanvdosv
CVE-2025-63396LOWCVSS 3.3v2.5.0v2.7.12025-11-12
CVE-2025-63396 [LOW] CWE-667 CVE-2025-63396: An issue was discovered in PyTorch v2.5 and v2.7.1. Omission of profiler.stop() can cause torch.prof 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).
nvd
CVE-2025-55553HIGHCVSS 7.5≤ 2.7.02025-09-25
CVE-2025-55553 [HIGH] CWE-248 CVE-2025-55553: A syntax error in the component proxy_tensor.py of pytorch v2.7.0 allows attackers to cause a Denial A syntax error in the component proxy_tensor.py of pytorch v2.7.0 allows attackers to cause a Denial of Service (DoS).
nvd
CVE-2025-55552HIGHCVSS 7.5≤ 2.8.02025-09-25
CVE-2025-55552 [HIGH] CWE-190 CVE-2025-55552: pytorch v2.8.0 was discovered to display unexpected behavior when the components torch.rot90 and tor pytorch v2.8.0 was discovered to display unexpected behavior when the components torch.rot90 and torch.randn_like are used together.
nvd
CVE-2025-55551HIGHCVSS 7.5≤ 2.8.02025-09-25
CVE-2025-55551 [HIGH] CWE-400 CVE-2025-55551: An issue in the component torch.linalg.lu of pytorch v2.8.0 allows attackers to cause a Denial of Se 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.
nvd
CVE-2025-55557HIGHCVSS 7.5≤ 2.7.02025-09-25
CVE-2025-55557 [HIGH] CWE-248 CVE-2025-55557: A Name Error occurs in pytorch v2.7.0 when a PyTorch model consists of torch.cummin and is compiled 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).
nvd
CVE-2025-55560HIGHCVSS 7.5≤ 2.7.02025-09-25
CVE-2025-55560 [HIGH] CWE-400 CVE-2025-55560: An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of to 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.
nvd
CVE-2025-55558HIGHCVSS 7.5≤ 2.7.02025-09-25
CVE-2025-55558 [HIGH] CWE-400 CVE-2025-55558: A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d, torch.n 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).
nvd
CVE-2025-46152MEDIUMCVSS 5.3≥ 2.6.0, < 2.7.02025-09-25
CVE-2025-46152 [MEDIUM] CWE-787 CVE-2025-46152: In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds val In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
nvd
CVE-2025-46148MEDIUMCVSS 5.3≤ 2.6.02025-09-25
CVE-2025-46148 [MEDIUM] CVE-2025-46148: In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results. In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results.
nvd
CVE-2025-46149MEDIUMCVSS 5.3≥ 2.6.0, < 2.7.02025-09-25
CVE-2025-46149 [MEDIUM] CWE-617 CVE-2025-46149: In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error. In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.
nvd
CVE-2025-46153MEDIUMCVSS 5.3≥ 2.6.0, < 2.7.02025-09-25
CVE-2025-46153 [MEDIUM] CWE-1176 CVE-2025-46153: PyTorch before 3.7.0 has a bernoulli_p decompose function in decompositions.py even though it lacks 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.
nvd
CVE-2025-46150MEDIUMCVSS 5.3≥ 2.6.0, < 2.7.02025-09-25
CVE-2025-46150 [MEDIUM] CVE-2025-46150: In PyTorch before 2.7.0, when torch.compile is used, FractionalMaxPool2d has inconsistent results. In PyTorch before 2.7.0, when torch.compile is used, FractionalMaxPool2d has inconsistent results.
nvd
CVE-2025-55554MEDIUMCVSS 5.3≤ 2.8.02025-09-25
CVE-2025-55554 [MEDIUM] CWE-190 CVE-2025-55554: pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().
nvd
CVE-2025-32434CRITICALCVSS 9.3fixed in 2.6.02025-04-18
CVE-2025-32434 [CRITICAL] CWE-502 CVE-2025-32434: PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep n 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
nvdosv
CVE-2025-3730MEDIUMCVSS 4.8v2.6.02025-04-16
CVE-2025-3730 [MEDIUM] CWE-404 CVE-2025-3730: A vulnerability, which was classified as problematic, was found in PyTorch 2.6.0. Affected is the fu 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 th
nvd
CVE-2025-3136MEDIUMCVSS 4.8v2.6.02025-04-03
CVE-2025-3136 [MEDIUM] CWE-119 CVE-2025-3136: A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0. This issue af 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 use
nvd
CVE-2025-3121MEDIUMCVSS 4.8v2.6.02025-04-02
CVE-2025-3121 [MEDIUM] CWE-119 CVE-2025-3121: A vulnerability classified as problematic has been found in PyTorch 2.6.0. Affected is the function 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.
nvd
CVE-2025-3001MEDIUMCVSS 4.8v2.6.02025-03-31
CVE-2025-3001 [MEDIUM] CWE-119 CVE-2025-3001: A vulnerability classified as critical was found in PyTorch 2.6.0. This vulnerability affects the fu 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.
nvd
CVE-2025-2999MEDIUMCVSS 4.8v2.6.02025-03-31
CVE-2025-2999 [MEDIUM] CWE-119 CVE-2025-2999: A vulnerability was found in PyTorch 2.6.0. It has been rated as critical. Affected by this issue is 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 may be used.
nvd