{"id":"CVE-2025-55558","aliases":["CVE-2025-55558","PYSEC-2025-208","BIT-PYTORCH-2025-55558"],"related":[],"kind":"vulnerability","state":"published","title":"A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d, torch.nn.functional.hardshrink, and torch.Tens…","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"Un desbordamiento de búfer ocurre en pytorch v2.7.0 cuando un modelo de PyTorch consta de torch.nn.Conv2d, torch.nn.functional.hardshrink y torch.Tensor.view-torch.mv() y es compilado por Inductor, lo que lleva a una denegación de servicio (DoS).","source":"nvd"}],"published":"2025-09-25T00:00:00.000Z","modified":"2026-11-05T23:10:00.150Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.7.0"}],"vendor":"linuxfoundation","product":"pytorch","cpe":"cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.7.1"}],"ecosystem":"PyPI","package":"torch","purl":"pkg:pypi/torch","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.7.1"}],"ecosystem":"Bitnami","package":"pytorch","purl":"pkg:bitnami/pytorch","source":"bitnami"}],"references":[{"url":"https://github.com/pytorch/pytorch/issues/151523","tags":["issue-tracking","report"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://github.com/pytorch/pytorch/pull/151887","tags":["fix","issue-tracking","patch"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55558","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-09-26T19:59:38.058Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-55558","url":"https://www.cve.org/CVERecord?id=CVE-2025-55558","licence":"CVE Terms of Use","modified":"2025-09-26T20:00:09.769Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-55558","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55558","licence":"Public domain","modified":"2026-11-05T23:10:00.150Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-208","url":"https://osv.dev/vulnerability/PYSEC-2025-208","licence":"CC-BY-4.0","modified":"2026-05-20T09:19:20.054Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTORCH-2025-55558","url":"https://osv.dev/vulnerability/BIT-PYTORCH-2025-55558","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.887Z"}],"updatedAt":"2026-11-25T22:59:05.182Z","epss":{"score":0.00473,"percentile":0.42485,"date":"2026-12-01T12:00:22.000Z"}}