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

EcosystemPackageFixed inAdvisory
Debian:12pytorchno fix listedDEBIAN-CVE-2025-55558
Debian:13pytorchno fix listedDEBIAN-CVE-2025-55558
Debian:14pytorch2.12.0+dfsg2-1DEBIAN-CVE-2025-55558
PyPItorch2.7.1PYSEC-2025-208
Ubuntu:22.04:LTSpytorchno fix listedUBUNTU-CVE-2025-55558
Ubuntu:25.10pytorchno fix listedUBUNTU-CVE-2025-55558
Ubuntu:26.04:LTSpytorchno fix listedUBUNTU-CVE-2025-55558
Ubuntu:26.10pytorchno fix listedUBUNTU-CVE-2025-55558

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References