Skip to main content

Heap-based Buffer Overflow

CVE-2021-37789

Severity High
Score 8.1/10

Summary

The package stb versions cci.20200203 and cci.20210713 in the file "stb_image.h" has a Heap-based Buffer Overflow in "stbi__jpeg_load", leading to Information Disclosure or Denial of Service.

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