pytorch
cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:python:*:*
- <= 2.7.0
A buffer overflow vulnerability has been identified in PyTorch version 2.7.0. This issue arises when a model includes the components 'torch.nn.Conv2d', 'torch.nn.functional.hardshrink', and 'torch.Tensor.view' combined with 'torch.mv()', and is compiled using the Inductor backend. The vulnerability results in a denial-of-service condition by causing a system crash during the model's execution.
Exploitation of this vulnerability leads to a denial-of-service condition, causing the system to crash.
The vulnerability can be reproduced by creating a PyTorch model that includes 'torch.nn.Conv2d', 'torch.nn.functional.hardshrink', and 'torch.Tensor.view' combined with 'torch.mv()'. Once the model is prepared, it should be compiled using the Inductor backend. When the model is executed, the buffer overflow will occur, leading to a crash.
This vulnerability has been fixed in the latest version of PyTorch. Users should update to the version that includes the fix.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.