CVE-2026-24747
PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
8.8
HIGH
CVSS 3.1
EPSS 0.07%
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.
How to fix CVE-2026-24747
To remediate CVE-2026-24747, upgrade the affected package to a fixed version below.
- —upgrade to 2.10.0 or later
- —no fix listed
- —upgrade to 2.10.0 or later
Is CVE-2026-24747 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 2.10.0
- from 0
- from 0, < 2.10.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| 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 |