{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-31583","published":"2024-04-17T19:15:07.950000Z","last_modified":"2026-06-17T07:28:36.677000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":true,"cwes":["CWE-416"],"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":"no","technical_impact":"total"},"epss":{"score":0.00379,"percentile":0.23763,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-pg7h-5qx3-wjr3","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-251","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}],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2024-31583/","html_en":"/en/cve/CVE-2024-31583/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-31583","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-31583"},"untrusted":{"vendor_name":"Linuxfoundation","product_name":"Pytorch","desc_en":"Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp.","affected":[{"untrusted_vendor":"pytorchlightning","untrusted_product":"pytorch_lightning","versions":[]}],"references":[{"url":"https://gist.github.com/1047524396/43e19a41f2b36503a4a228c32cdbc176","tags":["Third Party Advisory"]},{"url":"https://github.com/pytorch/pytorch/blob/v2.1.2/torch/csrc/jit/mobile/interpreter.cpp#L132","tags":["Product"]},{"url":"https://github.com/pytorch/pytorch/commit/9c7071b0e324f9fb68ab881283d6b8d388a4bcd2","tags":["Patch"]}]}}