CVE-2022-45907

CRITICAL

PyTorch < 1.13.1 - Remote Code Execution via Unsafe eval in torch.jit.annotations.parse_type_line

Title source: llm
STIX 2.1

Description

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

References (2)

Core 2

Scores

CVSS v3 9.8
EPSS 0.0083
EPSS Percentile 74.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-94
Status published
Products (2)
linuxfoundation/pytorch < 1.13.1
pypi/torch 0 - 1.13.1PyPI
Published Nov 26, 2022
Tracked Since Feb 18, 2026