Skip to main content

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

CVE-2023-0996

Severity High
Score 7.8/10

Summary

There is a vulnerability in the "strided" image data parsing code in the "emscripten" wrapper for libheif package versions prior to 1.15.0. An attacker could exploit this through a crafted image file to cause a Buffer Overflow in linear memory during a "memcpy" call.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • REQUIRED
  • NONE
  • HIGH
  • 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