● PyPI package
torch
Torch has 31 security advisories.
As of , torch has 31 security advisories.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| Before 2.13.0 | 2.13.0 | 28 advisories |
10 advisories give their versions in a form this page does not read, so the table may leave out some of their ranges.
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-4538PYSEC-2026-139 | A vulnerability was identified in PyTorch 2.10.0. | Up to and including 2.10.0 | No fixed version listed | |
| CVE-2026-24747GHSA-63cw-57p8-fm3p, PYSEC-2026-1856, PYSEC-2026-2286 | PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint FilesHigh severity | Before 2.10.0 | 2.10.0 | |
| CVE-2025-63396PYSEC-2025-210 | An issue was discovered in PyTorch v2.5 and v2.7.1. | This page does not read the form in which it gives its versions. | No fixed version listed | |
| CVE-2025-55560PYSEC-2025-209 | An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of torch.Tensor.tosparse() and torch.Tensor.todense() and is compiled by Inductor. | Before 2.7.1 | 2.7.1 | |
| CVE-2025-55558PYSEC-2025-208 | 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). | Before 2.7.1 | 2.7.1 | |
| CVE-2025-55557PYSEC-2025-207 | 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). | Before 2.7.1 | 2.7.1 | |
| CVE-2025-55554PYSEC-2025-206 | pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nantonum-.long(). | Before 2.9.0 | 2.9.0 | |
| CVE-2025-55553PYSEC-2025-205 | A syntax error in the component proxytensor.py of pytorch v2.7.0 allows attackers to cause a Denial of Service (DoS). | Before 2.7.1 | 2.7.1 | |
| CVE-2025-55552PYSEC-2025-204 | pytorch v2.8.0 was discovered to display unexpected behavior when the components torch.rot90 and torch.randnlike are used together. | Before 2.9.0 | 2.9.0 | |
| CVE-2025-55551PYSEC-2025-203 | 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. | Before 2.9.0 | 2.9.0 | |
| CVE-2025-46153PYSEC-2025-202 | PyTorch before 3.7.0 has a bernoullip 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... | From 2.6.0 before 2.7.0 | 2.7.0 | |
| CVE-2025-46152PYSEC-2025-201 | In PyTorch before 2.7.0, bitwiserightshift produces incorrect output for certain out-of-bounds values of the "other" argument. | From 2.6.0 before 2.7.0 | 2.7.0 | |
| CVE-2025-46150PYSEC-2025-200 | In PyTorch before 2.7.0, when torch.compile is used, FractionalMaxPool2d has inconsistent results. | From 2.6.0 before 2.7.0 | 2.7.0 | |
| CVE-2025-46149PYSEC-2025-199 | In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error. | From 2.6.0 before 2.7.0 | 2.7.0 | |
| CVE-2025-46148PYSEC-2025-198 | In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results. | Before 2.7.0 | 2.7.0 | |
| CVE-2025-32434GHSA-53q9-r3pm-6pq6, PYSEC-2025-41 | PyTorch: `torch.load` with `weights_only=True` leads to remote code executionCritical severity | Before 2.6.0 | 2.6.0 | |
| CVE-2025-3730GHSA-887c-mr87-cxwp, PYSEC-2026-1970 | PyTorch Improper Resource Shutdown or Release vulnerabilityModerate severity | Before 2.8.0 | 2.8.0 | |
| CVE-2025-3136PYSEC-2025-197 | A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0. | This page does not read the form in which it gives its versions. | No fixed version listed | |
| CVE-2025-3121PYSEC-2025-196 | A vulnerability classified as problematic has been found in PyTorch 2.6.0. | This page does not read the form in which it gives its versions. | No fixed version listed | |
| CVE-2025-3001GHSA-qfhq-4f3w-5fph, PYSEC-2025-195 | PyTorch is vulnerable to memory corruption through its torch.lstm_cell functionLow severity | Before 2.10.0 | 2.10.0 | |
| CVE-2025-3000GHSA-rrmf-rvhw-rf47, PYSEC-2025-194 | PyTorch is vulnerable to memory corruption through its torch.jit.script functionLow severity | Before 2.13.0 | 2.13.0 | |
| CVE-2025-2999GHSA-vgrw-7cvw-pwgx, PYSEC-2025-193 | PyTorch is vulnerable to memory corruption through its unpack_sequence functionModerate severity | Before 2.9.1 | 2.9.1 | |
| CVE-2025-2998GHSA-f4hp-rmr7-r7v8, PYSEC-2025-192 | PyTorch is Vulnerable to Memory Consumption through pad_packed_sequence FunctionModerate severity | Up to and including 2.6.0 | No fixed version listed | |
| CVE-2025-2953GHSA-3749-ghw9-m3mg, PYSEC-2025-191 | PyTorch susceptible to local Denial of ServiceLow severity | Before 2.7.1-rc1 | 2.7.1-rc1 | |
| CVE-2025-2149GHSA-x3gm-94wq-g975, PYSEC-2025-190 | PyTorch: Manipulation of the argument scale/zero_point leads to improper initialization via Quantized Sigmoid ModuleLow severity | Up to and including 2.6.0 | No fixed version listed | |
| CVE-2025-2148GHSA-c678-jfcj-6jmf, PYSEC-2025-189 | PyTorch Tuple Handler is Vulnerable to Memory Corruption through Manipulation of None ArgumentLow severity | Up to and including 2.6.0 | No fixed version listed | |
| CVE-2024-48063PYSEC-2024-259 | In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. | Before 2.5.0 | 2.5.0 | |
| CVE-2024-31584PYSEC-2024-250 | Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbufferloader.cpp. | Before 2.2.0 | 2.2.0 | |
| CVE-2024-31580GHSA-5pcm-hx3q-hm94, PYSEC-2024-252, PYSEC-2024-328 | PyTorch heap buffer overflow vulnerabilityHigh severity | Before 2.2.0 | 2.2.0 | |
| CVE-2024-31583GHSA-pg7h-5qx3-wjr3, PYSEC-2024-251 | Pytorch use-after-free vulnerabilityHigh severity | Before 2.2.0 | 2.2.0 | |
| CVE-2022-45907GHSA-47fc-vmwq-366v, PYSEC-2022-43015 | PyTorch vulnerable to arbitrary code executionCritical severity | Before 1.13.1 | 1.13.1 |
Other PyPI packages
- paddlepaddle32 advisories
- transformers32 advisories
- mcp-atlassian30 advisories
- wagtail30 advisories