VYPR
High severityOSV Advisory· Published Jan 27, 2026· Updated Feb 26, 2026

PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files

CVE-2026-24747

Description

PyTorch is a Python package that provides tensor computation. Prior to version 2.10.0, a vulnerability in PyTorch's weights_only unpickler allows an attacker to craft a malicious checkpoint file (.pth) that, when loaded with torch.load(..., weights_only=True), can corrupt memory and potentially lead to arbitrary code execution. Version 2.10.0 fixes the issue.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
pytorchPyPI
< 2.10.02.10.0

Affected products

1
  • Range: bc2caa7fdf006894eff7af936babde69ab5a40f8-huydhn-debug, ciflow/inductor/3b9a386, ciflow/inductor/3d4b92b, …

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

6

News mentions

0

No linked articles in our index yet.