| Name | CVE-2026-24747 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1126723 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| pytorch (PTS) | bullseye | 1.7.1-7 | vulnerable |
| bullseye (security) | 1.7.1-7+deb11u1 | vulnerable | |
| bookworm | 1.13.1+dfsg-4 | vulnerable | |
| trixie | 2.6.0+dfsg-7 | vulnerable | |
| forky | 2.6.0+dfsg-9 | vulnerable | |
| sid | 2.12.0+dfsg2-4 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| pytorch | source | (unstable) | 2.12.0+dfsg2-1 | 1126723 |
[trixie] - pytorch <no-dsa> (Minor issue)
[bookworm] - pytorch <no-dsa> (Minor issue)
[bullseye] - pytorch <postponed> (Minor issue)
https://github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p
https://github.com/pytorch/pytorch/issues/163105
Fixed by: https://github.com/pytorch/pytorch/commit/167ad09be5af5c52666759412a3804068c6955d1