CVE-2026-24747
HIGH8.8EPSS 0.07%PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
發布日:2026/1/27修改日:2026/4/28
描述
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.
受影響套件(3)
- Bitnami/pytorchfrom 0, < 2.10.0
- Debian/pytorchfrom 0
- PyPI/pytorchfrom 0, < 2.10.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-24747
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-24747
- PATCHhttps://github.com/pytorch/pytorch
- WEBhttps://github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139
- WEBhttps://github.com/pytorch/pytorch/issues/163105
- WEBhttps://github.com/pytorch/pytorch/releases/tag/v2.10.0
- WEBhttps://github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p