CVE-2026-24747

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*

History

No history.

Information

Published : 2026-01-27 22:15

Updated : 2026-01-30 21:51


NVD link : CVE-2026-24747

Mitre link : CVE-2026-24747

CVE.ORG link : CVE-2026-24747


JSON object : View

Products Affected

linuxfoundation

  • pytorch
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-502

Deserialization of Untrusted Data