{"id":"BIT-pytorch-2024-31580","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":["CVE-2024-31580","GHSA-5pcm-hx3q-hm94","PYSEC-2024-252","PYSEC-2024-328"],"modified":"2026-09-08T08:47:47.594593269Z","published":"2025-06-11T05:57:22.768Z","database_specific":{"cpes":["cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*"],"severity":"Medium"},"references":[{"type":"ADVISORY","url":"https://gist.github.com/1047524396/038c78f2f007345e6f497698ace2aa3d"},{"type":"FIX","url":"https://github.com/pytorch/pytorch/commit/b5c3a17c2c207ebefcb85043f0cf94be9b2fef81"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31580"}],"affected":[{"package":{"name":"pytorch","ecosystem":"Bitnami","purl":"pkg:bitnami/pytorch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pytorch/BIT-pytorch-2024-31580.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}],"schema_version":"1.9.0"}