# CVE-2026-24747: PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 2.10.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-01-27 · Modified: 2026-07-15
- Aliases: GHSA-63cw-57p8-fm3p, BIT-pytorch-2026-24747, PYSEC-2026-1856, PYSEC-2026-2286, UBUNTU-CVE-2026-24747, DEBIAN-CVE-2026-24747, CGA-2v4p-3wg2-xjmg, CGA-37pg-pfgf-547w, CGA-5j56-v7pm-wgv4, CGA-85f3-93hw-f635, CGA-ff8f-qfv8-gmqx, CGA-rrhg-x6v7-xqpg, CGA-wq22-3cqm-c854, CGA-wwrm-h464-2xqx, CGA-x96j-x2q2-59c6, CGA-xr4h-6v2f-p3cr, CGA-2365-qgh3-x7xj, CGA-6687-mxm2-2934, CGA-6j53-xxhg-28hh, CGA-72rr-6mr8-8vhh, CGA-83hp-8674-82gc, CGA-8x5g-7wxp-5589, CGA-x65q-rrqh-jff5, CGA-x6xh-w2q8-m742, CGA-f23w-rrwh-h57m
- Record: https://cvemate.com/vulnerability/CVE-2026-24747 · JSON: https://cvemate.com/vulnerability/CVE-2026-24747/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.799%, percentile 57.877%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard py3.10-torch-2.3-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-torch-2.6-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-torch-2.7-cuda-12.8 (Chainguard): All versions (No fix recorded)
- chainguard py3.11-torch-2.6-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.11-torch-2.7-cuda-12.8 (Chainguard): All versions (No fix recorded)
- chainguard py3.12-torch-2.6-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.12-torch-2.7-cuda-12.8 (Chainguard): All versions (No fix recorded)
- chainguard py3.12-torch-cuda-13.0-2.9 (Chainguard): All versions (No fix recorded)
- chainguard py3.13-torch-2.6-cuda-12.4 (Chainguard): All versions (No fix recorded)
- chainguard py3.13-torch-2.7-cuda-12.8 (Chainguard): All versions (No fix recorded)
- debian pytorch (Debian): All versions (No fix recorded) \| \< 2.12.0+dfsg2-1
- ubuntu pytorch (Ubuntu): All versions (No fix recorded)
- linuxfoundation pytorch: \< 2.10.0
- PyPI pytorch (PyPI): \< 2.10.0
- PyPI torch (PyPI): \< 2.10.0
- pytorch pytorch: \< 2.10.0

## References

- <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>
- <https://github.com/pytorch/pytorch>
- <https://pypi.org/project/pytorch>
- <https://github.com/advisories/GHSA-63cw-57p8-fm3p>
- <https://ubuntu.com/security/CVE-2026-24747>
- <https://www.cve.org/CVERecord?id=CVE-2026-24747>
- <https://security-tracker.debian.org/tracker/CVE-2026-24747>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pytorch/PYSEC-2026-1856.yaml>
- <https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2026-2286.yaml>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24747.json>

---

Data as of 2026-12-05T04:38:51.223Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
