PyTorchPYSEC-2025-208
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).
High7.5CVE-2025-55558 · Published Sep 25, 2025 · updated May 20, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| torch PyPI | < 2.7.1 | 2.7.1 |
Details and references
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).
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity from
- the CVSS score
- Also known as
- BIT-pytorch-2025-55558, CVE-2025-55558