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% (66th 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% (66th 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-76605 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Remote code execution via image element in Fabrik < 4.7.3 - ???.
- CVE-2026-76604 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Unauthenticated remote code execution via PHP form element in Fabrik < 4.7.3 - The…
- CVE-2026-67364 — Critical (CVSS 10.0): Joomla Extension - balbooa.com - Pre-auth PHP Code Injection in Balbooa Forms < 2.4.3.2 - CWE-94 / CWE-95 | CVSS 3.1:…
- CVE-2026-73343 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in WP Compress < 7.20.01 versions.
- CVE-2026-74253 — Critical (CVSS 10.0): Joomla Extension - regularlabs.com - Unauthenticated RCE through unverified reflected user input in Sourcerer < 14.0.0…
- CVE-2026-73678 — Critical (CVSS 10.0): MindsDB Minds Platform version 26.1.0 and earlier contains an unauthenticated remote code execution vulnerability that…