{"id":"CVE-2022-45907","aliases":["BIT-pytorch-2022-45907","GHSA-47fc-vmwq-366v","PYSEC-2022-43015"],"url":"https://o3.security/vulnerability/CVE-2022-45907","summary":"PyTorch vulnerable to arbitrary code execution","details":"In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.","published":"2022-11-26T00:00:00Z","modified":"2026-08-12T03:51:33.505123807Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.01192,"percentile":0.65159,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"torch","fixedVersion":"1.13.1"}],"fix":{"url":"https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3","label":"pytorch/pytorch@767f6aa"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45907.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45907"},{"type":"REPORT","url":"https://github.com/pytorch/pytorch/issues/88868"},{"type":"FIX","url":"https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:33.505123807Z"}}