Skip to main content

Heap-based Buffer Overflow

CVE-2024-31580

Severity High
Score 7.5/10

Summary

PyTorch versions prior to 2.2.0-rc1 were 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.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-122 - Heap-based Buffer Overflow

A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Advisory Timeline

  • Published