ADVISORIES

Azure Linux Advisory

AZL-60877

CVE-2025-32434 affecting package pytorch for versions less than 2.2.2-6

Details

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

EcosystemPackageAffected versions
Azure Linux:3pytorch
All versions before 2.2.2-6 (fixed in 2.2.2-6)

References