CVE-2025-55558 Details
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).
A buffer overflow vulnerability has been identified in PyTorch version 2.7.0. This issue arises when a model includes the components 'torch.nn.Conv2d', 'torch.nn.functional.hardshrink', and 'torch.Tensor.view' combined with 'torch.mv()', and is compiled using the Inductor backend. The vulnerability results in a denial-of-service condition by causing a system crash during the model's execution.
This vulnerability has been fixed in the latest version of PyTorch. Users should update to the version that includes the fix.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc | [email protected] | Third Party Advisory |
| https://github.com/pytorch/pytorch/issues/151523 | [email protected] | Issue Tracking |
| https://github.com/pytorch/pytorch/pull/151887 | [email protected] | Issue TrackingPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linuxfoundation pytorch | <= 2.7.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 3, 2025 | Initial Analysis | [email protected] |
| Sep 26, 2025 | CVE Modified | CISA-ADP |
| Sep 25, 2025 | New CVE Received | [email protected] |