Skip to content

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.

HighCVSS 7.5 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

10 packages: 5 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
debian/pytorch(Debian 12) = 1.13.1+dfsg-4; = 1.13.1+dfsg-5; = 2.0.1+dfsg-1; = 2.0.1+dfsg-1~exp1 +38 more No fix listed No fix yet
debian/pytorch(Debian 13) = 2.6.0+dfsg-7; = 2.6.0+dfsg-8; = 2.6.0+dfsg-9; = 2.9.0+dfsg-1~exp1 +14 more No fix listed No fix yet
ubuntu/pytorch(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/pytorch(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/pytorch(Ubuntu 26.10) All versions No fix listed No fix yet
azure linux pytorch(Azure Linux 3.0) < 2.2.2-8; < 2.2.2-9 2.2.2-8, 2.2.2-9 Fixed
cbl-mariner pytorch(CBL-Mariner 2.0) < 2.0.0-10; < 2.0.0-11 2.0.0-10, 2.0.0-11 Fixed
debian/pytorch(Debian 14) < 2.12.0+dfsg2-1; = 2.6.0+dfsg-7; = 2.6.0+dfsg-8; = 2.6.0+dfsg-9 +6 more 2.12.0+dfsg2-1 Fixed
linuxfoundation pytorch <= 2.7.0 after 2.7.0 Fixed
pypi torch(PyPI) < 2.7.1; = 1.0.0; = 1.0.1; = 1.1.0 +37 more 2.7.1 Fixed

Affected products

ProductAffected versionsFixed in
pypi torch(PyPI) < 2.7.1 2.7.1
pypi torch(PyPI) = 1.0.0 No fix listed
pypi torch(PyPI) = 1.0.1 No fix listed
pypi torch(PyPI) = 1.1.0 No fix listed
pypi torch(PyPI) = 1.10.0 No fix listed
pypi torch(PyPI) = 1.10.1 No fix listed
pypi torch(PyPI) = 1.10.2 No fix listed
pypi torch(PyPI) = 1.11.0 No fix listed
pypi torch(PyPI) = 1.12.0 No fix listed
pypi torch(PyPI) = 1.12.1 No fix listed
pypi torch(PyPI) = 1.13.0 No fix listed
pypi torch(PyPI) = 1.13.1 No fix listed
pypi torch(PyPI) = 1.2.0 No fix listed
pypi torch(PyPI) = 1.3.0 No fix listed
pypi torch(PyPI) = 1.3.1 No fix listed
pypi torch(PyPI) = 1.4.0 No fix listed
pypi torch(PyPI) = 1.5.0 No fix listed
pypi torch(PyPI) = 1.5.1 No fix listed
pypi torch(PyPI) = 1.6.0 No fix listed
pypi torch(PyPI) = 1.7.0 No fix listed
pypi torch(PyPI) = 1.7.1 No fix listed
pypi torch(PyPI) = 1.8.0 No fix listed
pypi torch(PyPI) = 1.8.1 No fix listed
pypi torch(PyPI) = 1.9.0 No fix listed
pypi torch(PyPI) = 1.9.1 No fix listed
Show 94 more
ProductAffected versionsFixed in
pypi torch(PyPI) = 2.0.0 No fix listed
pypi torch(PyPI) = 2.0.1 No fix listed
pypi torch(PyPI) = 2.1.0 No fix listed
pypi torch(PyPI) = 2.1.1 No fix listed
pypi torch(PyPI) = 2.1.2 No fix listed
pypi torch(PyPI) = 2.2.0 No fix listed
pypi torch(PyPI) = 2.2.1 No fix listed
pypi torch(PyPI) = 2.2.2 No fix listed
pypi torch(PyPI) = 2.3.0 No fix listed
pypi torch(PyPI) = 2.3.1 No fix listed
pypi torch(PyPI) = 2.4.0 No fix listed
pypi torch(PyPI) = 2.4.1 No fix listed
pypi torch(PyPI) = 2.5.0 No fix listed
pypi torch(PyPI) = 2.5.1 No fix listed
pypi torch(PyPI) = 2.6.0 No fix listed
pypi torch(PyPI) = 2.7.0 No fix listed
azure linux pytorch(Azure Linux:3.0) < 2.2.2-8 2.2.2-8
cbl-mariner pytorch(CBL-Mariner:2.0) < 2.0.0-11 2.0.0-11
azure linux pytorch(Azure Linux:3.0) < 2.2.2-9 2.2.2-9
cbl-mariner pytorch(CBL-Mariner:2.0) < 2.0.0-10 2.0.0-10
debian/pytorch(Debian:12) All versions No fix listed
debian/pytorch(Debian:12) = 1.13.1+dfsg-4 No fix listed
debian/pytorch(Debian:12) = 1.13.1+dfsg-5 No fix listed
debian/pytorch(Debian:12) = 2.0.1+dfsg-1 No fix listed
debian/pytorch(Debian:12) = 2.0.1+dfsg-1~exp1 No fix listed
debian/pytorch(Debian:12) = 2.0.1+dfsg-2 No fix listed
debian/pytorch(Debian:12) = 2.0.1+dfsg-4 No fix listed
debian/pytorch(Debian:12) = 2.0.1+dfsg-5 No fix listed
debian/pytorch(Debian:12) = 2.1.2+dfsg-1 No fix listed
debian/pytorch(Debian:12) = 2.1.2+dfsg-2 No fix listed
debian/pytorch(Debian:12) = 2.1.2+dfsg-4 No fix listed
debian/pytorch(Debian:12) = 2.12.0+dfsg2-1 No fix listed
debian/pytorch(Debian:12) = 2.12.0+dfsg2-1~exp1 No fix listed
debian/pytorch(Debian:12) = 2.12.0+dfsg2-1~exp2 No fix listed
debian/pytorch(Debian:12) = 2.12.0+dfsg2-2 No fix listed
debian/pytorch(Debian:12) = 2.12.0+dfsg2-3 No fix listed
debian/pytorch(Debian:12) = 2.12.0+dfsg2-4 No fix listed
debian/pytorch(Debian:12) = 2.12.1+dfsg-1 No fix listed
debian/pytorch(Debian:12) = 2.12.1+dfsg-2 No fix listed
debian/pytorch(Debian:12) = 2.14.1+dfsg-1 No fix listed
debian/pytorch(Debian:12) = 2.14.1+dfsg-1~exp1 No fix listed
debian/pytorch(Debian:12) = 2.4.1-1 No fix listed
debian/pytorch(Debian:12) = 2.4.1-3 No fix listed
debian/pytorch(Debian:12) = 2.4.1-4 No fix listed
debian/pytorch(Debian:12) = 2.5.0+dfsg-1 No fix listed
debian/pytorch(Debian:12) = 2.5.1+dfsg-1 No fix listed
debian/pytorch(Debian:12) = 2.5.1+dfsg-3 No fix listed
debian/pytorch(Debian:12) = 2.5.1+dfsg-4 No fix listed
debian/pytorch(Debian:12) = 2.6.0+dfsg-1 No fix listed
debian/pytorch(Debian:12) = 2.6.0+dfsg-1~exp1 No fix listed
debian/pytorch(Debian:12) = 2.6.0+dfsg-2 No fix listed
debian/pytorch(Debian:12) = 2.6.0+dfsg-3 No fix listed
debian/pytorch(Debian:12) = 2.6.0+dfsg-4 No fix listed
debian/pytorch(Debian:12) = 2.6.0+dfsg-5 No fix listed
debian/pytorch(Debian:12) = 2.6.0+dfsg-7 No fix listed
debian/pytorch(Debian:12) = 2.6.0+dfsg-8 No fix listed
debian/pytorch(Debian:12) = 2.6.0+dfsg-9 No fix listed
debian/pytorch(Debian:12) = 2.6.0~rc9+dfsg-1~exp1 No fix listed
debian/pytorch(Debian:12) = 2.9.0+dfsg-1~exp1 No fix listed
debian/pytorch(Debian:12) = 2.9.0+dfsg-1~exp2 No fix listed
debian/pytorch(Debian:12) = 2.9.1+dfsg-1~exp1 No fix listed
debian/pytorch(Debian:12) = 2.9.1+dfsg-1~exp2 No fix listed
debian/pytorch(Debian:13) All versions No fix listed
debian/pytorch(Debian:13) = 2.12.0+dfsg2-1 No fix listed
debian/pytorch(Debian:13) = 2.12.0+dfsg2-1~exp1 No fix listed
debian/pytorch(Debian:13) = 2.12.0+dfsg2-1~exp2 No fix listed
debian/pytorch(Debian:13) = 2.12.0+dfsg2-2 No fix listed
debian/pytorch(Debian:13) = 2.12.0+dfsg2-3 No fix listed
debian/pytorch(Debian:13) = 2.12.0+dfsg2-4 No fix listed
debian/pytorch(Debian:13) = 2.12.1+dfsg-1 No fix listed
debian/pytorch(Debian:13) = 2.12.1+dfsg-2 No fix listed
debian/pytorch(Debian:13) = 2.14.1+dfsg-1 No fix listed
debian/pytorch(Debian:13) = 2.14.1+dfsg-1~exp1 No fix listed
debian/pytorch(Debian:13) = 2.6.0+dfsg-7 No fix listed
debian/pytorch(Debian:13) = 2.6.0+dfsg-8 No fix listed
debian/pytorch(Debian:13) = 2.6.0+dfsg-9 No fix listed
debian/pytorch(Debian:13) = 2.9.0+dfsg-1~exp1 No fix listed
debian/pytorch(Debian:13) = 2.9.0+dfsg-1~exp2 No fix listed
debian/pytorch(Debian:13) = 2.9.1+dfsg-1~exp1 No fix listed
debian/pytorch(Debian:13) = 2.9.1+dfsg-1~exp2 No fix listed
debian/pytorch(Debian:14) < 2.12.0+dfsg2-1 2.12.0+dfsg2-1
debian/pytorch(Debian:14) = 2.12.0+dfsg2-1~exp1 No fix listed
debian/pytorch(Debian:14) = 2.12.0+dfsg2-1~exp2 No fix listed
debian/pytorch(Debian:14) = 2.6.0+dfsg-7 No fix listed
debian/pytorch(Debian:14) = 2.6.0+dfsg-8 No fix listed
debian/pytorch(Debian:14) = 2.6.0+dfsg-9 No fix listed
debian/pytorch(Debian:14) = 2.9.0+dfsg-1~exp1 No fix listed
debian/pytorch(Debian:14) = 2.9.0+dfsg-1~exp2 No fix listed
debian/pytorch(Debian:14) = 2.9.1+dfsg-1~exp1 No fix listed
debian/pytorch(Debian:14) = 2.9.1+dfsg-1~exp2 No fix listed
ubuntu/pytorch(Ubuntu:22.04) All versions No fix listed
ubuntu/pytorch(Ubuntu:26.04) All versions No fix listed
ubuntu/pytorch(Ubuntu:26.10) All versions No fix listed
linuxfoundation pytorch <= 2.7.0 No fix listed

References