Skip to content

CVE-2025-55558 A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d, torch.nn.functional.hardshrink, and torch.Tensor.view-torch.mv() and is compiled by Inductor, leading to a...

HighCVSS 7.5 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d, torch.nn.functional.hardshrink, and torch.Tensor.view-torch.mv() and is compiled by Inductor, leading to a Denial of Service (DoS).

Upgrade path

10 packages: 3 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
azure linux pytorch(Azure Linux 3.0) All versions No fix listed No fix yet
cbl-mariner pytorch(CBL-Mariner 2.0) All versions No fix listed No fix yet
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
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 92 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
cbl-mariner pytorch(CBL-Mariner:2.0) All versions No fix listed
azure linux pytorch(Azure Linux:3.0) All versions No fix listed
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