Skip to content
HighVulnerability

CVE-2025-55560: PyTorch denial of service via to_sparse and to_dense compiled by Inductor

Identifier
CVE-2025-55560
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2025-55560 affects PyTorch v2.7.0. A PyTorch model that uses torch.Tensor.to_sparse() and torch.Tensor.to_dense() and is compiled by Inductor can trigger a Denial of Service (DoS). The NVD has not yet provided an assessment, and the source lists CWE-400 (Uncontrolled Resource Consumption) as a weakness.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.