{"id":"CVE-2024-31580","published":"2024-04-17T00:00:00Z","modified":"2025-03-28T23:47:41Z","title":"PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00301,"percentile":0.15185,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81","tags":[]},{"url":"https://gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3d","tags":[]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":3.04},{"name":"CVSS severity","points":2.8}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-05-10T18:39:32.971436Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"torch","vulnerableRanges":["<2.2.0"],"patched":["2.2.0"],"from":["GHSA-5pcm-hx3q-hm94","PYSEC-2024-252"],"provenance":"source"},{"ecosystem":"PyPI","package":"torch-npu","vulnerableRanges":["<2.2.0"],"patched":["2.2.0"],"from":["PYSEC-2024-328"],"provenance":"source"}],"summary":{"text":"A heap buffer overflow exists in the PyTorch runtime component /runtime/vararg_functions.cpp in versions before v2.2.0. An attacker with local access and no privileges or user interaction can supply a crafted input to trigger the overflow and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:16Z"},"euvd":{"id":"EUVD-2024-1105","exploited":false,"provenance":"source"}}