PyTorch
cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:python:*:*
- 2.6.0+cu124
A denial-of-service vulnerability has been identified in PyTorch versions 2.6.0+cu124. The issue arises in the `torch.mkldnn_max_pool2d` function, where improper handling of the `stride` parameter can lead to a crash, specifically a floating-point exception. This vulnerability requires local access to exploit.
Exploitation of this vulnerability causes a crash due to a floating-point exception, disrupting the application's normal operation.
The vulnerability can be reproduced by running PyTorch code that creates a tensor with random values, converts it to the MKLDNN format, and then applies the `torch.mkldnn_max_pool2d` function with an invalid stride of zero. This combination triggers a floating-point exception, causing a crash.
Users are advised to update to PyTorch version 2.7.1, where this issue has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.