7.5High
CVE-2025-55558
Description
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).
Weakness (CWE):
CWE-400
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| linuxfoundation | pytorch | ≤ 2.7.0 |
References and patches
- https://github.com/pytorch/pytorch/issues/151523 Issue Tracking
- https://github.com/pytorch/pytorch/pull/151887 Issue TrackingPatch
- https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc Third Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*≤ 2.7.0