← Database

CVE-2026-24747

HIGH CVSS: 8.8 Published: 2026-01-27 Modified: 2026-07-15

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 Platforms

Linuxfoundation Pytorch

Weakness Type

CWE-94, CWE-502, CWE-502

References