Skip to main content

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

CVE-2024-34252

Severity High
Score 7.5/10

Summary

wasm3 was discovered to contain a global Buffer Overflow which leads to Segmentation Fault via the function `PreserveRegisterIfOccupied` in `wasm3/source/m3_compile.c`.

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

CWE-120 - Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.

Advisory Timeline

  • Published