Skip to content
OpenAdvisories
High · 7.5 CVE-2025-55560 BIT-pytorch-2025-55560EUVD-2025-31117GHSA-mxhp-68x5-j3fxPYSEC-2025-209

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…

Published Sep 25, 2025 · Updated Sep 26, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pytorch 2.12.0+dfsg2-1 —
Debian 13 pytorch No fix yet —
Debian 12 pytorch No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pytorch No fix yet —
Ubuntu 26.04 LTS pytorch No fix yet —
Ubuntu 25.10 pytorch No fix yet —
Ubuntu 22.04 LTS pytorch No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 pytorch 2.2.2-9 —
Azure Linux 2 (CBL-Mariner) pytorch 2.0.0-11 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI torch < 2.7.1 2.7.1 PYSEC-2025-209

Advisories 1

References