Critical severity9.8NVD Advisory· Published Nov 26, 2022· Updated Jun 17, 2026
CVE-2022-45907
CVE-2022-45907
Description
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
torchPyPI | < 1.13.1 | 1.13.1 |
Affected products
3- osv-coords2 versions
< 1.13.1+ 1 more
- (no CPE)range: < 1.13.1
- (no CPE)range: < 1.13.1
Patches
Vulnerability mechanics
References
8- github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3nvdPatchThird Party AdvisoryWEB
- github.com/pytorch/pytorch/issues/88868nvdExploitIssue TrackingPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-47fc-vmwq-366vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-45907ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2022-43015.yamlghsaWEB
- github.com/pytorch/pytorch/issues/89855ghsaWEB
- github.com/pytorch/pytorch/pull/89189ghsaWEB
- github.com/pytorch/pytorch/releases/tag/v1.13.1ghsaWEB
News mentions
0No linked articles in our index yet.