Vulnerability 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).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Pytorch | <= 2.7.0 |
Related Weaknesses (CWE)
References
- https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efcThird Party Advisory
- https://github.com/pytorch/pytorch/issues/151523Issue Tracking
- https://github.com/pytorch/pytorch/pull/151887Issue TrackingPatch
FAQ
What is CVE-2025-55558?
CVE-2025-55558 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2025-55558?
CVE-2025-55558 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-55558?
Check the references section above for vendor advisories and patch information. Affected products include: Linuxfoundation Pytorch.