AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

PyTorchGHSA-5pcm-hx3q-hm94

PyTorch heap buffer overflow vulnerability

PyTorch

CVE-2024-31580 · Published Apr 17, 2024 · updated Jul 27, 2026

High7.5
Fix: upgrade to 2.2.0 or later
GitHub advisory

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 versions

PackageAffectedFixed in
torch
PyPI
< 2.2.02.2.0
Details and references

More PyTorch advisories

All PyTorch