HIGH7.5
PYSEC-2025-208
Quick fix
PYSEC-2025-208 — torch: upgrade to the fixed version with the command below.
pip install --upgrade 'torch>=2.7.1'Details
A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d, torch.nn.functional.hardshrink, and torch.Tensor.view-torch.mv() and is compiled by Inductor, leading to a Denial of Service (DoS).
Are you affected?
Enter the version of the package you're using.