CVE-2022-45907

Published Nov 26, 2022 CVSS 3.1 · 9.8 Critical EPSS 1.3% KEV · Not listed
Description
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0340 In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
Github GHSA Github GHSA GHSA-47fc-vmwq-366v PyTorch vulnerable to arbitrary code execution
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 25, 2025, 7:16 PM
Reserved
Nov 26, 2022, 12:00 AM
Status
Modified
Published
Nov 26, 2022, 2:15 AM
Modified
Jun 17, 2026, 5:10 AM