PYSEC-2025-41

At a glance

Published
Updated
CVE
CVE-2025-32434
Aliases
BIT-pytorch-2025-32434, GHSA-53q9-r3pm-6pq6
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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.

Affected packages

PackageVersions
PyPI · torchintroduced 0, fixed 2.6.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database