CVE-2025-55558Uncontrolled Resource Consumption in Pytorch

Severity
7.5HIGHNVD
EPSS
0.1%
top 75.16%
CISA KEV
Not in KEV
Exploit
No known exploits
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

Patches

🔴Vulnerability Details

2
GHSA
GHSA-79pg-rrp8-8wqm: A buffer overflow occurs in pytorch v22025-09-25
OSV
CVE-2025-55558: A buffer overflow occurs in pytorch v22025-09-25

📋Vendor Advisories

3
Red Hat
torch: PyTorch buffer overflow2025-09-25
Microsoft
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