{"id":"PYSEC-2024-252","details":"PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.","aliases":["BIT-pytorch-2024-31580","CVE-2024-31580","GHSA-5pcm-hx3q-hm94","PYSEC-2024-328"],"modified":"2026-07-27T12:26:34.306757669Z","published":"2024-04-17T19:15:07Z","references":[{"type":"FIX","url":"https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81"},{"type":"WEB","url":"https://gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3d"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5pcm-hx3q-hm94"}],"affected":[{"package":{"name":"torch","ecosystem":"PyPI","purl":"pkg:pypi/torch"},"ranges":[{"type":"GIT","repo":"https://github.com/pytorch/pytorch","events":[{"introduced":"0"},{"fixed":"b5c3a17c2c207ebefcb85043f0cf94be9b2fef81"},{"fixed":"b5c3a17c2c207ebefcb85043f0cf94be9b2fef81"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}],"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","ciflow/unstable/123","bc2caa7fdf006894eff7af936babde69ab5a40f8-huydhn-debug","ciflow/periodic/3e98831","ciflow/slow/da3aba1e46157c4df504b067477cdf2b3c96b194-sdym","ciflow/slow/0d5b74da0cab798fbfdb9caa53fad816999c8386-sdym","ciflow/slow/8751002215790a3a88750faa8f4366933e296693-sdym","ciflow/slow/a837609","ciflow/slow/788ff06","ciflow/slow/1faef89","ciflow/slow/187eb7c","ciflow/slow/01c7106","ciflow/slow/3920ec1","ciflow/slow/0577043","ciflow/slow/a206e8b","ciflow/slow/59a3759","ciflow/slow/1732077","ciflow/slow/9d85864","ciflow/slow/0e81104","ciflow/slow/3b7c6b2","ciflow/slow/70ef0bb","ciflow/slow/af841f3","ciflow/slow/9ffad5b","ciflow/periodic/94512-point","ciflow/inductor/3d4b92b","ciflow/inductor/3b9a386","ciflow/inductor/d224ac7","ciflow/periodic/csl/test87519","ciflow/periodic/csltest88761","ciflow/periodic/csltest88275","ciflow/periodic/317eeb8","ciflow/periodic/2a6d37d","ciflow/periodic/3c32","ciflow/periodic/054a2fd","ciflow/periodic/sha-ec5b83","malfet/tag-2ef5611","malfet/tag-317b1a0","malfet/tag-ec6f767","nightly-binary","v1.8.0-rc1","v1.4.0a0","v1.3.0a0","v1.2.0a0","v1.1.0a0","v1.0rc1","v1.0rc0","v1.0.0a0","v0.1.11","v0.1.10","v0.1.9","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/torch/PYSEC-2024-252.yaml"}}],"schema_version":"1.7.5"}