{"id":"CVE-2025-55560","aliases":["AZL-67944","AZL-67968","BIT-pytorch-2025-55560","DEBIAN-CVE-2025-55560","EUVD-2025-31117","GHSA-mxhp-68x5-j3fx","PYSEC-2025-209","UBUNTU-CVE-2025-55560"],"status":"published","title":"An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of...","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00411,"percentile":0.3586,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2025-09-25T00:00:00Z","modified":"2026-11-06T10:04:48Z","fixes":[{"ecosystem":"Azure Linux:2","package":"pytorch","fixed_in":["2.0.0-11"],"sources":["osv"]},{"ecosystem":"Azure Linux:3","package":"pytorch","fixed_in":["2.2.2-9"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"pytorch","fixed_in":["2.7.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pytorch","fixed_in":["2.12.0+dfsg2-1"],"sources":["osv"]},{"ecosystem":"PyPI","package":"torch","fixed_in":["2.7.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:2","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0-11"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.2-9"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"pytorch","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.7.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.1+dfsg-4","1.13.1+dfsg-5","2.0.1+dfsg-1","2.0.1+dfsg-1~exp1","2.0.1+dfsg-2","2.0.1+dfsg-4","2.0.1+dfsg-5","2.1.2+dfsg-1","2.1.2+dfsg-2","2.1.2+dfsg-4","2.12.0+dfsg2-1","2.12.0+dfsg2-1~exp1","2.12.0+dfsg2-1~exp2","2.12.0+dfsg2-2","2.12.0+dfsg2-3","2.12.0+dfsg2-4","2.12.1+dfsg-1","2.12.1+dfsg-2","2.14.1+dfsg-1","2.14.1+dfsg-1~exp1","2.4.1-1","2.4.1-3","2.4.1-4","2.5.0+dfsg-1","2.5.1+dfsg-1","2.5.1+dfsg-3","2.5.1+dfsg-4","2.6.0+dfsg-1","2.6.0+dfsg-1~exp1","2.6.0+dfsg-2","2.6.0+dfsg-3","2.6.0+dfsg-4","2.6.0+dfsg-5","2.6.0+dfsg-7","2.6.0+dfsg-8","2.6.0+dfsg-9","2.6.0~rc9+dfsg-1~exp1","2.9.0+dfsg-1~exp1","2.9.0+dfsg-1~exp2","2.9.1+dfsg-1~exp1","2.9.1+dfsg-1~exp2"]},{"source":"osv","ecosystem":"Debian:13","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.0+dfsg2-1","2.12.0+dfsg2-1~exp1","2.12.0+dfsg2-1~exp2","2.12.0+dfsg2-2","2.12.0+dfsg2-3","2.12.0+dfsg2-4","2.12.1+dfsg-1","2.12.1+dfsg-2","2.14.1+dfsg-1","2.14.1+dfsg-1~exp1","2.6.0+dfsg-7","2.6.0+dfsg-8","2.6.0+dfsg-9","2.9.0+dfsg-1~exp1","2.9.0+dfsg-1~exp2","2.9.1+dfsg-1~exp1","2.9.1+dfsg-1~exp2"]},{"source":"osv","ecosystem":"Debian:14","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.12.0+dfsg2-1"}]}],"versions":["2.12.0+dfsg2-1~exp1","2.12.0+dfsg2-1~exp2","2.6.0+dfsg-7","2.6.0+dfsg-8","2.6.0+dfsg-9","2.9.0+dfsg-1~exp1","2.9.0+dfsg-1~exp2","2.9.1+dfsg-1~exp1","2.9.1+dfsg-1~exp2"]},{"source":"osv","ecosystem":"PyPI","package":"torch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1"}]}],"versions":["1.0.0","1.0.1","1.1.0","1.10.0","1.10.1","1.10.2","1.11.0","1.12.0","1.12.1","1.13.0","1.13.1","1.2.0","1.3.0","1.3.1","1.4.0","1.5.0","1.5.1","1.6.0","1.7.0","1.7.1","1.8.0","1.8.1","1.9.0","1.9.1","2.0.0","2.0.1","2.1.0","2.1.1","2.1.2","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.4.0","2.4.1","2.5.0","2.5.1","2.6.0","2.7.0"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.1-7","1.8.1-4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0+dfsg-5build1","2.6.0+dfsg-7"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.1+dfsg-1~exp1ubuntu2","2.12.1+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"pytorch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0+dfsg-7","2.6.0+dfsg-9","2.9.1+dfsg-1~exp1ubuntu2"]}],"products":[{"vendor":"linuxfoundation","product":"pytorch"}],"references":[{"url":"https://github.com/pytorch/pytorch/issues/151522","tags":["Issue Tracking","report"]},{"url":"https://github.com/pytorch/pytorch/pull/151897","tags":["Issue Tracking","Patch","fix","report"]},{"url":"https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc","tags":["Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55560","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-mxhp-68x5-j3fx"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55560.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-55560","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-55560","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-55560","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-55560","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.","status":"published","published":"2025-09-25T00:00:00Z","modified":"2025-09-26T19:39:24.967Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:32:52.839698Z"}],"euvd":[{"id":"EUVD-2025-31117","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.","status":"published","published":"2025-09-25T00:00:00Z","modified":"2025-09-26T19:39:24Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T20:31:39.009822Z"}],"ghsa":[{"id":"GHSA-mxhp-68x5-j3fx","title":"An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of...","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.","status":"published","published":"2025-09-25T18:30:34Z","modified":"2025-09-26T21:31:32Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:03:47.526088Z"}],"nvd":[{"id":"CVE-2025-55560","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.","status":"published","published":"2025-09-25T16:15:35.197Z","modified":"2026-11-05T23:10:00.15Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-400"],"updated_at":"2026-11-06T01:57:37.498693Z"}],"osv":[{"id":"CVE-2025-55560","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.","status":"published","published":"2025-09-25T00:00:00Z","modified":"2026-11-07T02:30:41.187901582Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-07T03:07:57.67871Z"},{"id":"DEBIAN-CVE-2025-55560","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.","status":"published","published":"2025-09-25T16:15:35.197Z","modified":"2026-11-06T10:04:48.287831113Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-06T10:38:22.758306Z"},{"id":"PYSEC-2025-209","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.","status":"published","published":"2025-09-25T16:15:35.197Z","modified":"2026-05-20T09:19:20.117285Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:54.242332Z"},{"id":"UBUNTU-CVE-2025-55560","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.","status":"published","published":"2025-09-25T16:15:00Z","modified":"2026-10-17T12:57:08.58608063Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:50.817402Z"},{"id":"AZL-67944","title":"CVE-2025-55560 affecting package pytorch for versions less than 2.0.0-11","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.","status":"published","published":"2025-09-25T16:15:35Z","modified":"2026-04-21T04:38:18.481971Z","updated_at":"2026-11-02T15:28:08.630357Z"},{"id":"AZL-67968","title":"CVE-2025-55560 affecting package pytorch for versions less than 2.2.2-9","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.","status":"published","published":"2025-09-25T16:15:35Z","modified":"2026-11-05T05:40:51Z","updated_at":"2026-11-05T16:41:23.994498Z"},{"id":"BIT-pytorch-2025-55560","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.","status":"published","published":"2025-10-15T08:50:02.845Z","modified":"2026-09-08T08:48:24.886770714Z","updated_at":"2026-11-02T15:28:35.111822Z"}]}}
