{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-31580","published":"2024-04-17T19:15:07.783000Z","last_modified":"2026-06-17T07:28:36.197000Z","status":"Analyzed","cvss":{"version":"3.1","score":4.0,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":true,"cwes":["CWE-122"],"cpes":[{"criteria":"cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*","part":"a","vendor":"linuxfoundation","product":"pytorch","version_end_excluding":"2.2.0"}],"cpes_truncated":false,"vendors":["linuxfoundation"],"products":["linuxfoundation/pytorch"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.00301,"percentile":0.15167,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-5pcm-hx3q-hm94","ecosystem":"PyPI","name":"torch","purl":"pkg:pypi/torch","ranges":[{"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"],"versions_truncated":false},{"advisory":"PYSEC-2024-252","ecosystem":"PyPI","name":"torch","purl":"pkg:pypi/torch","ranges":[{"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","bc2caa7fdf006894eff7af936babde69ab5a40f8-huydhn-debug","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"],"versions_truncated":false},{"advisory":"PYSEC-2024-328","ecosystem":"PyPI","name":"torch-npu","purl":"pkg:pypi/torch-npu","ranges":[{"introduced":"0","fixed":"2.2.0"}],"versions":["2.1.0","2.1.0.post10","2.1.0.post12","2.1.0.post13","2.1.0.post17","2.1.0.post3","2.1.0.post6","2.1.0.post8","2.1.0rc1","2.2.0rc1"],"versions_truncated":false}],"severity":"medium","priority_score":24,"links":{"html_es":"/es/cve/CVE-2024-31580/","html_en":"/en/cve/CVE-2024-31580/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-31580","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-31580"},"untrusted":{"vendor_name":"Linuxfoundation","product_name":"Pytorch","desc_en":"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.","affected":[{"untrusted_vendor":"pytorch","untrusted_product":"pytorch","versions":[]}],"references":[{"url":"https://gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3d","tags":["Third Party Advisory"]},{"url":"https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81","tags":["Patch"]}]}}