HIGH7.5
PYSEC-2025-209
Quick fix
PYSEC-2025-209 — torch: upgrade to the fixed version with the command below.
pip install --upgrade 'torch>=2.7.1'Details
An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of torch.Tensor.to_sparse() and torch.Tensor.to_dense() and is compiled by Inductor.
Are you affected?
Enter the version of the package you're using.