Vulnerability · Published Sep 25, 2025 · Assigned by mitre
CVE-2025-55558
High 7.5
In plain English
A high-severity uncontrolled resource consumption in the pytorch package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 60.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pytorch | no fix listed | DEBIAN-CVE-2025-55558 |
| Debian:13 | pytorch | no fix listed | DEBIAN-CVE-2025-55558 |
| Debian:14 | pytorch | 2.12.0+dfsg2-1 | DEBIAN-CVE-2025-55558 |
| PyPI | torch | 2.7.1 | PYSEC-2025-208 |
| Ubuntu:22.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2025-55558 |
| Ubuntu:25.10 | pytorch | no fix listed | UBUNTU-CVE-2025-55558 |
| Ubuntu:26.04:LTS | pytorch | no fix listed | UBUNTU-CVE-2025-55558 |
| Ubuntu:26.10 | pytorch | no fix listed | UBUNTU-CVE-2025-55558 |
Affected products (as reported)
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H