CVE 8.8 HIGH

PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files_CVE-2026-24747

8.8 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-24747
Source GitHub_M
Published Jan 27, 2026 at 21:13

Affected Product

Vendor pytorch
Product pytorch
Version < 2.10.0
Affected Versions pytorch pytorch < 2.10.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.