CVE-2025-55558 — Uncontrolled Resource Consumption in Pytorch
CWE-400 — Uncontrolled Resource ConsumptionCWE-121 — Stack-based Buffer Overflow6 documents6 sources
Severity
7.5HIGHNVD
EPSS
0.1%
top 75.16%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedSep 25
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6
Affected Packages4 packages
Patches
🔴Vulnerability Details
2📋Vendor Advisories
3Microsoft▶
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 ↗2025-09-09
Debian▶
CVE-2025-55558: pytorch - A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torc...↗2025