CVE-2025-55560
7.5high
An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of torch.Tensor.tosparse() and torch.Tensor.…
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.43% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- PYSEC-2025-209BIT-PYTORCH-2025-55560
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| linuxfoundation pytorch | up to 2.7.0 | NVD |
| torch (PyPI) | before 2.7.1 | PyPA Advisory Database |
| pytorch (Bitnami) | before 2.7.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Un problema en pytorch v2.7.0 puede llevar a una Denegación de Servicio (DoS) cuando un modelo de PyTorch consiste en torch.Tensor.to_sparse() y torch.Tensor.to_dense() y es compilado por Inductor.
References
| https://github.com/pytorch/pytorch/issues/151522 | issue-tracking, report | |
| https://github.com/pytorch/pytorch/pull/151897 | fix, issue-tracking, patch | |
| https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-55560 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-55560 changed 2025-09-26 | CVE Terms of Use |
| NVD | CVE-2025-55560 changed 2026-11-05 | Public domain |
| PyPA Advisory Database | PYSEC-2025-209 changed 2026-05-20 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-PYTORCH-2025-55560 changed 2026-09-08 | Apache-2.0 |