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).
                
            References
                    | Link | Resource | 
|---|---|
| https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc | Third Party Advisory | 
| https://github.com/pytorch/pytorch/issues/151523 | Issue Tracking | 
| https://github.com/pytorch/pytorch/pull/151887 | Issue Tracking Patch | 
Configurations
                    History
                    03 Oct 2025, 18:06
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc - Third Party Advisory | |
| References | () https://github.com/pytorch/pytorch/issues/151523 - Issue Tracking | |
| References | () https://github.com/pytorch/pytorch/pull/151887 - Issue Tracking, Patch | |
| CPE | cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:* | |
| First Time | Linuxfoundation Linuxfoundation pytorch | 
26 Sep 2025, 20:15
| Type | Values Removed | Values Added | 
|---|---|---|
| CWE | CWE-400 | |
| CVSS | v2 : v3 : | v2 : unknown v3 : 7.5 | 
25 Sep 2025, 16:15
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2025-09-25 16:15
Updated : 2025-10-03 18:06
NVD link : CVE-2025-55558
Mitre link : CVE-2025-55558
CVE.ORG link : CVE-2025-55558
JSON object : View
Products Affected
                linuxfoundation
- pytorch
CWE
                
                    
                        
                        CWE-400
                        
            Uncontrolled Resource Consumption
