Vulnerability · Published Mar 22, 2026 · Assigned by VulDB

CVE-2026-4538PyTorch pt2 Loading deserialization

Medium 5.3

In plain English

A medium-severity unsafe deserialization in PyTorch. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.2%top 84.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability was identified in PyTorch 2.10.0. The affected element is an unknown function of the component pt2 Loading Handler. The manipulation leads to deserialization. The attack can only be performed from a local environment. The exploit is publicly available and might be used. The project was informed of the problem early through a pull request but has not reacted yet.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pytorchno fix listedDEBIAN-CVE-2026-4538
Debian:13pytorchno fix listedDEBIAN-CVE-2026-4538
Debian:14pytorchno fix listedDEBIAN-CVE-2026-4538
PyPItorchno fix listedPYSEC-2026-139
Ubuntu:22.04:LTSpytorchno fix listedUBUNTU-CVE-2026-4538
Ubuntu:25.10pytorchno fix listedUBUNTU-CVE-2026-4538
Ubuntu:26.04:LTSpytorchno fix listedUBUNTU-CVE-2026-4538
Ubuntu:26.10pytorchno fix listedUBUNTU-CVE-2026-4538

Affected products (as reported)

VendorProductVersions
n/a PyTorch 2.10.0

Weakness: CWE-502, CWE-20 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R

References