# CVE-2022-45907

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.13.1 (CNA); fix release not confirmed
- Status: published
- Published: 2022-11-26 · Modified: 2025-04-25
- Aliases: GHSA-47fc-vmwq-366v, BIT-pytorch-2022-45907, PYSEC-2022-43015, UBUNTU-CVE-2022-45907, DEBIAN-CVE-2022-45907
- Record: https://cvemate.com/vulnerability/CVE-2022-45907 · JSON: https://cvemate.com/vulnerability/CVE-2022-45907/json

## Description

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

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.647%, percentile 77.308%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian pytorch (Debian): \< 1.13.1+dfsg-1
- ubuntu pytorch (Ubuntu): All versions (No fix recorded)
- linuxfoundation pytorch: \< 1.13.1
- PyPI torch (PyPI): \< 767f6aa49fe20a2766b9843d01e3b7f7793df6a3 \| \< 1.13.1

## References

- <https://github.com/pytorch/pytorch/issues/88868>
- <https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-45907>
- <https://github.com/pytorch/pytorch/issues/89855>
- <https://github.com/pytorch/pytorch/pull/89189>
- <https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2022-43015.yaml>
- <https://github.com/pytorch/pytorch>
- <https://github.com/pytorch/pytorch/releases/tag/v1.13.1>
- <https://github.com/advisories/GHSA-47fc-vmwq-366v>
- <https://ubuntu.com/security/CVE-2022-45907>
- <https://www.cve.org/CVERecord?id=CVE-2022-45907>
- <https://security-tracker.debian.org/tracker/CVE-2022-45907>

---

Data as of 2026-12-05T09:08:46.377Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
