Skip to main content

Heap-based Buffer Overflow in pytorch

CVE-2024-31580

  • pytorch
  • torch
Severity High
Score 8.7/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
  • LOCAL
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • LOW

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