Advisory record · GHSA-47fc-vmwq-366v

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

CVSS 9.8 CriticalCriticalEPSS 0.013 · 71st percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 26 Nov 2022, 02:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
torchPyPI<767f6aa49fe20a2766b9843d01e3b7f7793df6a3 || <1.13.1767f6aa49fe20a2766b9843d01e3b7f7793df6a3, 1.13.1
Identifiers
GHSA-47fc-vmwq-366v · BIT-pytorch-2022-45907 · CVE-2022-45907 · PYSEC-2022-43015
Weakness (CWE)
CWE-94
Published
26 Nov 2022
Updated
10 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

PyTorch versions before 1.13.1 are vulnerable. In torch.jit.annotations.parse_type_line, eval is used unsafely, so an attacker who can supply the input processed by that function may be able to run arbitrary code. The source gives few details on the exact input path. Upgrade torch to version 1.13.1 or later.

Written 10 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H ADP (CISA-ADP)
  • CISA KEV Not listed.
  • EPSS 0.013, the 71st percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 26 Nov 2022. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.