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).
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efcThird Party Advisory
- https://github.com/pytorch/pytorch/issues/151523Issue Tracking
- https://github.com/pytorch/pytorch/pull/151887Issue Tracking, Patch
Timeline
- Published
- Sep 25, 2025
- Last modified
- Nov 5, 2026
- NVD status
- Analyzed