Buffer Overflow Vulnerability in PyTorch v2.7.0 Affecting Model Compilation
CVE-2025-55558
7.5HIGH
What is CVE-2025-55558?
A buffer overflow vulnerability has been identified in PyTorch v2.7.0, specifically occurring when a model comprises torch.nn.Conv2d and torch.nn.functional.hardshrink functions, combined with torch.Tensor.view and torch.mv() methods. This issue can arise when the model is compiled by the Inductor, potentially leading to Denial of Service (DoS) conditions. Developers using this version of PyTorch should exercise caution and review their model configurations to prevent disruptions.
