BIT-pytorch-2025-32434

vendorUSosv

PyTorch: `torch.load` with `weights_only=True` leads to remote code execution

view advisory published 2025-04-22Licence: per source

PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior, a Remote Command Execution (RCE) vulnerability exists in PyTorch when loading a model using torch.load with weights_only=True. This issue has been patched in version 2.6.0.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2025-32434UScritical9.8Exploit
PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. In version 2.5.1 and prior…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan