---
title: "PyTorch torch vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/pytorch/torch
type: product
description: "PyTorch torch has 14 published CVEs, 0 in CISA KEV and 10 with public exploits."
updated: 2026-01-27
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# PyTorch torch vulnerabilities

Vendor: [PyTorch](https://radicalnotion.ai/vendor/pytorch)

- **Published CVEs:** 14
- **In CISA KEV:** 0
- **With a public exploit:** 10
- **With a patch:** 14
- **Average CVSS:** 5.9
- **First CVE:** 2022-11-26
- **Latest CVE:** 2026-01-27
- **Ecosystems:** pypi

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 2 |
| High | 3 |
| Medium | 7 |
| Low | 2 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-119](https://radicalnotion.ai/cwe/cwe-119) | Improper Restriction of Operations within the Bounds of a Memory Buffer | 5 |
| [CWE-502](https://radicalnotion.ai/cwe/cwe-502) | Deserialization of Untrusted Data | 2 |
| [CWE-404](https://radicalnotion.ai/cwe/cwe-404) | Improper Resource Shutdown or Release | 2 |
| [CWE-416](https://radicalnotion.ai/cwe/cwe-416) | Use After Free | 1 |
| [CWE-665](https://radicalnotion.ai/cwe/cwe-665) | Improper Initialization | 1 |
| [CWE-94](https://radicalnotion.ai/cwe/cwe-94) | Improper Control of Generation of Code | 1 |
| [CWE-122](https://radicalnotion.ai/cwe/cwe-122) | Heap-based Buffer Overflow | 1 |
| [CWE-125](https://radicalnotion.ai/cwe/cwe-125) | Out-of-bounds Read | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2022 | 1 |
| 2023 | 0 |
| 2024 | 3 |
| 2025 | 9 |
| 2026 | 1 |

## Affected versions (top 21 of 94)

| Version | Kind | CVEs |
| --- | --- | --- |
| 1.0.0 | exact | 4 |
| 1.0.1 | exact | 4 |
| 1.1.0 | exact | 4 |
| 1.10.0 | exact | 4 |
| 1.10.1 | exact | 4 |
| 1.10.2 | exact | 4 |
| 1.11.0 | exact | 4 |
| 1.12.0 | exact | 4 |
| 1.12.1 | exact | 4 |
| 1.13.0 | exact | 4 |
| 1.2.0 | exact | 4 |
| 1.3.0 | exact | 4 |
| \< 2.2.0 | range | 3 |
| \<= 2.6.0 | range | 3 |
| \< 2.10.0 | range | 2 |
| \< 1.13.1 | range | 1 |
| \< 2.13.0 | range | 1 |
| \< 2.6.0 | range | 1 |
| \< 2.7.1-rc1 | range | 1 |
| \< 2.8.0 | range | 1 |
| \< 2.9.1 | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 2.2.0 | 3 |
| 2.10.0 | 2 |
| 1.13.1 | 1 |
| 2.13.0 | 1 |
| 2.6.0 | 1 |
| 2.7.1-rc1 | 1 |
| 2.8.0 | 1 |
| 2.9.1 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-24747 | PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files | high | 8.8 | No | Yes | Yes |
| CVE-2025-32434 | PyTorch: \`torch.load\` with \`weights\_only=True\` leads to remote code execution | critical | 9.3 | No | No | Yes |
| CVE-2025-3730 | PyTorch LossCTC.cpp torch.nn.functional.ctc\_loss denial of service | medium | 4.8 | No | Yes | Yes |
| CVE-2025-3001 | PyTorch torch.lstm\_cell memory corruption | medium | 4.8 | No | Yes | Yes |
| CVE-2025-3000 | PyTorch torch.jit.script memory corruption | medium | 4.8 | No | Yes | Yes |
| CVE-2025-2999 | PyTorch torch.nn.utils.rnn.unpack\_sequence memory corruption | medium | 4.8 | No | Yes | Yes |
| CVE-2025-2998 | PyTorch torch.nn.utils.rnn.pad\_packed\_sequence memory corruption | medium | 4.8 | No | Yes | Yes |
| CVE-2025-2953 | PyTorch torch.mkldnn\_max\_pool2d denial of service | medium | 4.8 | No | Yes | Yes |
| CVE-2025-2149 | PyTorch Quantized Sigmoid Module nnq\_Sigmoid initialization | low | 2.0 | No | Yes | Yes |
| CVE-2025-2148 | PyTorch Tuple torch.ops.profiler.\_call\_end\_callbacks\_on\_jit\_fut memory corruption | low | 2.3 | No | Yes | Yes |
| CVE-2024-31584 | - | medium | 5.5 | No | No | Yes |
| CVE-2024-31583 | Pytorch use-after-free vulnerability | high | 7.8 | No | No | Yes |
| CVE-2024-31580 | PyTorch heap buffer overflow vulnerability | high | 8.7 | No | No | Yes |
| CVE-2022-45907 | PyTorch vulnerable to arbitrary code execution | critical | 9.3 | No | Yes | Yes |

## Frequently asked questions

### How many CVEs does PyTorch torch have?

PyTorch torch has 14 published CVE records since 2022.

### How many PyTorch torch CVEs are in CISA KEV?

None of PyTorch torch's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for PyTorch torch vulnerabilities?

Yes — 10 of PyTorch torch's CVEs have a known public exploit.

### Which versions of PyTorch torch are affected?

102 distinct PyTorch torch versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in PyTorch torch CVEs?

PyTorch torch's CVEs most often map to these CWE weakness types: CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), CWE-502 (Deserialization of Untrusted Data), CWE-404 (Improper Resource Shutdown or Release), CWE-416 (Use After Free).

### How many critical PyTorch torch vulnerabilities are there?

PyTorch torch has 2 critical and 3 high-severity CVEs.

### What is the average severity of PyTorch torch CVEs?

The average CVSS base score across PyTorch torch's scored CVEs is 5.9.

## Other products from this vendor

- [PyTorch](https://radicalnotion.ai/vendor/pytorch/pytorch) (29 CVEs)
- [executorch](https://radicalnotion.ai/vendor/pytorch/executorch) (7 CVEs)
- [github.com/pytorch/executorch](https://radicalnotion.ai/vendor/pytorch/github-com-pytorch-executorch) (6 CVEs)
- [org.pytorch:executorch-android](https://radicalnotion.ai/vendor/pytorch/org-pytorch-executorch-android) (6 CVEs)
- [TorchServe](https://radicalnotion.ai/vendor/pytorch/torchserve) (6 CVEs)
- [serve](https://radicalnotion.ai/vendor/pytorch/serve) (4 CVEs)
- [PyTorch 2.7.0](https://radicalnotion.ai/vendor/pytorch/pytorch-2-7-0) (2 CVEs)
- [vision](https://radicalnotion.ai/vendor/pytorch/vision) (2 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/pytorch/torch). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
