CVE-2022-45907
CVE-2022-45907 is a critical-severity vulnerability in Linuxfoundation Pytorch with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (64th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-94
- Affected product: Linuxfoundation Pytorch
- Published:
- Last modified:
Description
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
Frequently asked questions
- What is CVE-2022-45907?
- In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
- How severe is CVE-2022-45907?
- CVE-2022-45907 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-45907 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (64th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-45907?
- CVE-2022-45907 affects Linuxfoundation Pytorch. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-45907?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2022-45907 published?
- CVE-2022-45907 was published on 2022-11-26 and last updated on 2026-06-17.
References
- https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3
- https://github.com/pytorch/pytorch/issues/88868
Affected products (1)
- cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*
More vulnerabilities in Linuxfoundation Pytorch
- CVE-2025-32434 — Critical (CVSS 9.8): PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks…
- CVE-2024-48063 — Critical (CVSS 9.8): In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. NOTE: this is disputed by multiple parties because this…
- CVE-2026-24747 — High (CVSS 8.8): PyTorch is a Python package that provides tensor computation. Prior to version 2.10.0, a vulnerability in PyTorch's…
- CVE-2024-31583 — High (CVSS 7.8): Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in…
- CVE-2025-55560 — High (CVSS 7.5): An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of…
- CVE-2025-55558 — High (CVSS 7.5): A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d,…
All CVEs affecting Linuxfoundation Pytorch →
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.