CVE-2026-24747
CVE-2026-24747 · PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 8.8 · High · EPSS 0.8% · Fix available
- Published
- Updated
Affected products and versions
pytorch
- Versions
- < 2.10.0: Affected
No fix published
pytorch Debian:12
- Versions
- 1.13.1+dfsg-4
- 1.13.1+dfsg-5
- 2.0.1+dfsg-1
- 2.0.1+dfsg-1~exp1
- 2.0.1+dfsg-2
- 2.0.1+dfsg-4
- 2.0.1+dfsg-5
- 2.1.2+dfsg-1
- 2.1.2+dfsg-2
- 2.1.2+dfsg-4
- 2.12.0+dfsg2-1
- 2.12.0+dfsg2-1~exp1
- 2.12.0+dfsg2-1~exp2
- 2.12.0+dfsg2-2
- 2.12.0+dfsg2-3
- 2.12.0+dfsg2-4
- 2.12.1+dfsg-1
- 2.4.1-1
- 2.4.1-3
- 2.4.1-4
- 2.5.0+dfsg-1
- 2.5.1+dfsg-1
- 2.5.1+dfsg-3
- 2.5.1+dfsg-4
- 2.6.0+dfsg-1
- 2.6.0+dfsg-1~exp1
- 2.6.0+dfsg-2
- 2.6.0+dfsg-3
- 2.6.0+dfsg-4
- 2.6.0+dfsg-5
- 2.6.0+dfsg-7
- 2.6.0+dfsg-8
- 2.6.0+dfsg-9
- 2.6.0~rc9+dfsg-1~exp1
- 2.9.0+dfsg-1~exp1
- 2.9.0+dfsg-1~exp2
- 2.9.1+dfsg-1~exp1
- 2.9.1+dfsg-1~exp2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pytorch Debian:13
- Versions
- 2.12.0+dfsg2-1
- 2.12.0+dfsg2-1~exp1
- 2.12.0+dfsg2-1~exp2
- 2.12.0+dfsg2-2
- 2.12.0+dfsg2-3
- 2.12.0+dfsg2-4
- 2.12.1+dfsg-1
- 2.6.0+dfsg-7
- 2.6.0+dfsg-8
- 2.6.0+dfsg-9
- 2.9.0+dfsg-1~exp1
- 2.9.0+dfsg-1~exp2
- 2.9.1+dfsg-1~exp1
- 2.9.1+dfsg-1~exp2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pytorch Debian:14
- Versions
- 2.12.0+dfsg2-1~exp1
- 2.12.0+dfsg2-1~exp2
- 2.6.0+dfsg-7
- 2.6.0+dfsg-8
- 2.6.0+dfsg-9
- 2.9.0+dfsg-1~exp1
- 2.9.0+dfsg-1~exp2
- 2.9.1+dfsg-1~exp1
- 2.9.1+dfsg-1~exp2
- Affected ranges
- ECOSYSTEM: < 2.12.0+dfsg2-1
Update to 2.12.0+dfsg2-1
pytorch PyPI
- Versions
- 0.1.2
- 1.0.2
- Affected ranges
- ECOSYSTEM: < 2.10.0
Update to 2.10.0
torch PyPI
- Versions
- 1.0.0
- 1.0.1
- 1.1.0
- 1.10.0
- 1.10.1
- 1.10.2
- 1.11.0
- 1.12.0
- 1.12.1
- 1.13.0
- 1.13.1
- 1.2.0
- 1.3.0
- 1.3.1
- 1.4.0
- 1.5.0
- 1.5.1
- 1.6.0
- 1.7.0
- 1.7.1
- 1.8.0
- 1.8.1
- 1.9.0
- 1.9.1
- 2.0.0
- 2.0.1
- 2.1.0
- 2.1.1
- 2.1.2
- 2.2.0
- 2.2.1
- 2.2.2
- 2.3.0
- 2.3.1
- 2.4.0
- 2.4.1
- 2.5.0
- 2.5.1
- 2.6.0
- 2.7.0
- 2.7.1
- 2.8.0
- 2.9.0
- 2.9.1
- Affected ranges
- ECOSYSTEM: < 2.10.0
Update to 2.10.0
pytorch Ubuntu:22.04:LTS
- Versions
- 1.7.1-7
- 1.8.1-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pytorch Ubuntu:25.10
- Versions
- 2.6.0+dfsg-5build1
- 2.6.0+dfsg-7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pytorch Ubuntu:26.10
- Versions
- 2.9.1+dfsg-1~exp1ubuntu2
- 2.12.1+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
pytorch Ubuntu:26.04:LTS
- Versions
- 2.6.0+dfsg-7
- 2.6.0+dfsg-9
- 2.9.1+dfsg-1~exp1ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p
- https://github.com/pytorch/pytorch/issues/163105
- https://github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139
- https://github.com/pytorch/pytorch/releases/tag/v2.10.0
- https://access.redhat.com/security/cve/CVE-2026-24747
- https://bugzilla.redhat.com/show_bug.cgi?id=2433612
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24747.json
- https://access.redhat.com/errata/RHSA-2026:24977
- https://nvd.nist.gov/vuln/detail/CVE-2026-24747