← Vulnerability feed

Vulnerability record · CVE-2026-24747 · published 27 January 2026

CVE-2026-24747: Linuxfoundation pytorch code injection vulnerability

Linuxfoundation · Pytorch

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.

8.8 CVSS 3.1 High EPSS 0.81% · top 44.8% CWE-94 · Code injectionCWE-502 · Deserialization of untrusted data
8.8CVSS 3.1 base score
0.81%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 1 tagged exploit
15 Jul 2026Last modified by NVD

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.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-24747 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-48063Linuxfoundation pytorch deserialization of untrusted data vulnerabilityIn PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. NOTE: this is disputed by multiple parties because this is intended behavior in PyTorch…EPSS 1.6%9.8CVE-2022-45907Linuxfoundation pytorch code injection vulnerabilityIn PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.EPSS 1.3%9.3CVE-2025-32434Linuxfoundation pytorch deserialization of untrusted data vulnerabilityPyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd sys…EPSS 2.2%7.8CVE-2024-31583Linuxfoundation pytorch use after free vulnerabilityPytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.EPSS 0.27%7.5CVE-2025-55560Linuxfoundation pytorch uncontrolled resource consumption vulnerabilityAn issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of torch.Tensor.to_sparse() and torch.Tensor.to_dense(…EPSS 0.41%7.5CVE-2025-55552Linuxfoundation pytorch integer overflow vulnerabilitypytorch v2.8.0 was discovered to display unexpected behavior when the components torch.rot90 and torch.randn_like are used together.EPSS 0.42%7.5CVE-2025-55553Linuxfoundation pytorch vulnerabilityA syntax error in the component proxy_tensor.py of pytorch v2.7.0 allows attackers to cause a Denial of Service (DoS).EPSS 0.41%7.5CVE-2025-55557Linuxfoundation pytorch vulnerabilityA Name Error occurs in pytorch v2.7.0 when a PyTorch model consists of torch.cummin and is compiled by Inductor, leading to a Denial of Service (DoS).EPSS 0.41%

Source: NIST National Vulnerability Database (record CVE-2026-24747), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.