Read the docs
TI-2022-22691 Aliases CVE-2022-45907GHSA-47fc-vmwq-366v

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary…

Priority MEDIUM 46CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01332 71st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed torch (PyPI): 1.13.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—torch (PyPI)before 1.13.11.13.1Patch availableGHSA-47fc-vmwq-366v
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • torch (PyPI) Vendor— Affected before 1.13.1 Fixed in 1.13.1 Patch available GHSA-47fc-vmwq-366v

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*before 1.13.1Vulnerablebackstage
  • cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:* Versions before 1.13.1 Vulnerable ·backstage

Remediation

  • Fix · GHSA-47fc-vmwq-366v torch (PyPI) Fixed in 1.13.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-45907
  2. 2026-10-03 Alias added: GHSA-47fc-vmwq-366v

References

  • TI-2024-32257 In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. CVSS 3.1CRITICAL 9.8
  • TI-2025-35037 A Name Error occurs in pytorch v2.7.0 when a PyTorch model consists of torch.cummin and… CVSS 3.1HIGH 7.5
  • TI-2025-35034 A syntax error in the component proxy_tensor.py of pytorch v2.7.0 allows attackers to cause a Denial of Service (DoS). CVSS 3.1HIGH 7.5
  • TI-2025-35033 pytorch v2.8.0 was discovered to display unexpected behavior when the components… CVSS 3.1HIGH 7.5
  • TI-2025-35032 An issue in the component torch.linalg.lu of pytorch v2.8.0 allows attackers to cause a… CVSS 3.1HIGH 7.5
  • TI-2025-35038 A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of… CVSS 3.1HIGH 7.5
See all 30 →

Sources