Vulnerability record · CVE-2022-45907 · published 26 November 2022
CVE-2022-45907: Linuxfoundation pytorch code injection vulnerability
Linuxfoundation · Pytorch
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
Description
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3 | PatchThird Party Advisory |
| https://github.com/pytorch/pytorch/issues/88868 | ExploitIssue TrackingPatchThird Party Advisory |
| https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3 | PatchThird Party Advisory |
| https://github.com/pytorch/pytorch/issues/88868 | ExploitIssue TrackingPatchThird Party Advisory |
Track CVE-2022-45907 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-45907), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.