Skip to main content
VulnerabilityPublished

ZDI-26-1052: (0Day) PyTorch Foundation PyTorch PT2 File Parsing Code Injection Remote Code Execution Vulnerability

Source Zero Day Initiative

0
Severity
High

Rated High by Zero Day Initiative

Data as of 24 Nov 2026, 18:32 UTC

What to do

AI-suggested

Until a fix is available, limit exposure by restricting access to systems running PyTorch and carefully validate or sandbox inputs that interact with the PT2 file parsing functionality.

Description

A remote code execution vulnerability exists in the PyTorch PT2 file parsing component, allowing remote attackers to execute arbitrary code on affected PyTorch installations. Exploitation requires interaction with the PyTorch library, and attack vectors may vary depending on implementation. The vulnerability has been assigned a high severity rating by the Zero Day Initiative.

References

Community reviews

Loading reviews…