CVE-2026-24747
HIGH 8.8CVSS 3.1PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
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.
- Published
- 27 Jan 2026
- Last modified
- 4 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-502CWE-94
- Also known as
- BIT-pytorch-2026-24747GHSA-63cw-57p8-fm3pPYSEC-2026-1856PYSEC-2026-2286
- Sources
- NVDJSONOSV GHSA-63cw-57p8-fm3pJSONOSV PYSEC-2026-1856JSONOSV PYSEC-2026-2286JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | pytorchcpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:* |
< 2.10.0 | 2.10.0 |
| OSV | PyPI | torch | < 2.10.0 | 2.10.0 |
| OSV | PyPI | pytorch | < 2.10.0 | 2.10.0 |
References
- https://github.com/pytorch/pytorch/163122/commit/954dc5183ee9205cbe79876ad05dd2d9ae752139 · Broken Link, WEB, FIX
- https://github.com/pytorch/pytorch/issues/163105 · Exploit, Issue Tracking, WEB, REPORT
- https://github.com/pytorch/pytorch/releases/tag/v2.10.0 · Product, Release Notes, WEB, ADVISORY
- https://github.com/pytorch/pytorch/security/advisories/GHSA-63cw-57p8-fm3p · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2026:24977 · WEB, ADVISORY
- https://access.redhat.com/security/cve/CVE-2026-24747 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2433612 · WEB, REPORT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24747.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-24747 · ADVISORY
- https://github.com/advisories/GHSA-63cw-57p8-fm3p · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pytorch/PYSEC-2026-1856.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2026-2286.yaml · WEB
- https://github.com/pytorch/pytorch · PACKAGE
- https://pypi.org/project/pytorch · WEB, PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 27 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Jan 2026)