PyTorchPYSEC-2026-2286
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 potentiall
High8.8CVE-2026-24747 · Published Jan 27, 2026 · updated Jul 13, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| torch PyPI | < 2.10.0 | 2.10.0 |
Details and references
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
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- the CVSS score
- Also known as
- BIT-pytorch-2026-24747, CVE-2026-24747, GHSA-63cw-57p8-fm3p, PYSEC-2026-1856
- access.redhat.com/security/cve/CVE-2026-24747
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24747.json
- access.redhat.com/errata/RHSA-2026:24977
- github.com/pytorch/pytorch/releases/tag/v2.10.0
- github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p
- bugzilla.redhat.com/show_bug.cgi?id=2433612
- github.com/pytorch/pytorch/issues/163105
- github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139