{"cve":"CVE-2022-45907","nvd":{"published":"2022-11-26T02:15:10.253","modified":"2026-06-17T05:10:58.067","status":"Modified","description":"In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94"],"references":["https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3","https://github.com/pytorch/pytorch/issues/88868","https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3","https://github.com/pytorch/pytorch/issues/88868"],"products":["linuxfoundation:pytorch"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-45907","score":0.01344,"percentile":0.71388,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-47fc-vmwq-366v","url":"https://osv.dev/vulnerability/GHSA-47fc-vmwq-366v","summary":"PyTorch vulnerable to arbitrary code execution","modified":"2024-11-13T23:01:42.831346Z","packages":[{"ecosystem":"PyPI","name":"torch","purl":"pkg:pypi/torch","ranges":["<1.13.1"],"fixed":["1.13.1"]}]},{"id":"PYSEC-2022-43015","url":"https://osv.dev/vulnerability/PYSEC-2022-43015","summary":"","modified":"2026-06-10T17:51:27.754911892Z","packages":[{"ecosystem":"PyPI","name":"torch","purl":"pkg:pypi/torch","ranges":["<1.13.1"],"fixed":["1.13.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}