Skip to content
8.8 High

CVE-2026-24747 PyTorch is a Python package that provides tensor computation

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.

Affected products and versions

Product Affected versions Fixed in
pytorch 2.10 earliest → < 2.10.0 2.10.0
Red Hat OpenShift AI 2.25 1780069069 earliest → < 1780069069 1780069069
Red Hat OpenShift AI (RHOAI) Versions not published

References

Timeline

  1. Published
  2. Last modified
The 4 CVEs of pytorch →
Track this CVE