High severity · published Sep 25, 2025
CVE-2025-55560
An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of torch.Tensor.to_sparse() and torch.Tensor.to_dense() and is compiled by Inductor
7.5
CVSS
0.4%
EPSS
No
On KEV
Description
An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of torch.Tensor.to_sparse() and torch.Tensor.to_dense() and is compiled by Inductor.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PY
Pytorch · Linuxfoundation
through 2.7.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-55560
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-55560
Third Party Advisory
https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc
Issue Tracking
https://github.com/pytorch/pytorch/issues/151522
Issue Tracking
https://github.com/pytorch/pytorch/pull/151897
More from Pytorch
9.8
CVE-2025-32434
PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system
9.8
CVE-2024-48063
In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE
9.8
CVE-2022-45907
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely
8.8
CVE-2026-24747
PyTorch Vulnerable to Remote Code Execution via Untrusted Checkpoint Files
7.8
CVE-2026-4538
PyTorch pt2 Loading deserialization
