torch
Affected
- introduced
0, fixed2.10.0(ecosystem)
Fixed versions
2.10.0
Fix
- Fixed version
2.10.0pip install --upgrade torch==2.10.0
Advisory
Also known as: BIT-pytorch-2026-24747, CVE-2026-24747, GHSA-63cw-57p8-fm3p, PYSEC-2026-1856
The record has no summary.
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.
High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
0, fixed 2.10.0 (ecosystem)2.10.0
2.10.0pip install --upgrade torch==2.10.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0