High, CVSS 8.7PyPIAmendedPublished
PyTorch heap buffer overflow vulnerability
CVE-2024-31580 · GHSA-5pcm-hx3q-hm94
- Affected
- PyPI torch-npu < 2.2.0
- Fixed in
- 2.2.0· Vendor fix available
- Issue
- PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/varargfunctions.cpp. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.
Recommended action: Upgrade to 2.2.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.