9.8

CVE-2022-45907: linuxfoundation pytorch Code Injection

CVSS: 9.8v3.1CriticalModified
AliasesGHSA-47fc-vmwq-366vBIT-pytorch-2022-45907PYSEC-2022-43015
Published 26-11-2022Last modified 25-04-2025

Vulnerability summary

CVE-2022-45907 is a critical (CVSS 9.8) Code Injection vulnerability in linuxfoundation pytorch. EPSS estimates a 1.29% chance of exploitation in the next 30 days, higher than 69.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.29%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 26-11-2022
    PublishedVulnerability first disclosed.
  2. 25-04-2025
    Last modifiedVulnerability information updated.

Description

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.29%

Chance of exploitation in the next 30 days

Percentile

70%

Versus all other CVEs

30-day change

+0.05 pp

From 1.24% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.29%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Pytorch

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • pytorch< 1.13.1+dfsg-1
Linuxfoundation1 product
PyPI1 product
  • torch< 767f6aa49fe20a2766b9843d01e3b7f7793df6a3 | < 1.13.1
Ubuntu1 product
  • pytorchAll versions (No fix recorded)

4 vendors · 4 products

References

12 links
Show all 12 references