Vulnerability · Published Nov 26, 2022 · Assigned by mitre

CVE-2022-45907

Critical 9.8

In plain English

A critical-severity code injection in the pytorch package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.3%top 28.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pytorch1.13.1+dfsg-1DEBIAN-CVE-2022-45907
Debian:13pytorch1.13.1+dfsg-1DEBIAN-CVE-2022-45907
Debian:14pytorch1.13.1+dfsg-1DEBIAN-CVE-2022-45907
PyPItorch1.13.1GHSA-47fc-vmwq-366v
PyPItorch1.13.1PYSEC-2022-43015
Ubuntu:22.04:LTSpytorchno fix listedUBUNTU-CVE-2022-45907
Ubuntu:25.10pytorchno fix listedUBUNTU-CVE-2022-45907
Ubuntu:26.04:LTSpytorchno fix listedUBUNTU-CVE-2022-45907
Ubuntu:26.10pytorchno fix listedUBUNTU-CVE-2022-45907

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References