AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

PyTorchPYSEC-2025-209

PyTorch: denial of service

PyTorch

CVE-2025-55560 · Published Sep 25, 2025 · updated May 20, 2026

High7.5
Fix: upgrade to 2.7.1 or later
Source advisory

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 versions

PackageAffectedFixed in
torch
PyPI
< 2.7.12.7.1
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity from
the CVSS score
Also known as
BIT-pytorch-2025-55560, CVE-2025-55560

More PyTorch advisories

All PyTorch