VDB

CVE-2023-45677

CVE-2023-45677 PUBLISHED CVSS 7.300000190734863 HIGH

stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds write in `f->vendor[len] = (char)'\0';`. The root cause is that if `len` read in `start_decoder` is a negative number and `setup_malloc` successfully allocates memory in that case, but memory write is done with a negative index `len`. Similarly if len is INT_MAX the integer overflow len+1 happens in `f->vendor = (char*)setup_malloc(f, sizeof(char) * (len+1));` and `f->comment_list[i] = (char*)setup_malloc(f, sizeof(char) * (len+1));`. This issue may lead to code execution.

EPSS 0.54% · 43.4th percentile

Risk Scores

CVSS 3.1
7.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS Score
0.54%
43.4th percentile

Affected Products

VendorProductVersions
nothingsstb0, 0
nothingsstb<= 1.22, *
nothingsstb_vorbis.c1.22, 1.22, 1.22

Timeline

  • Oct 20, 2023 CVE Published
  • Oct 21, 2023 EPSS Score
  • Nov 21, 2023 EPSS Score
  • Dec 23, 2023 EPSS Score
  • Jan 23, 2024 EPSS Score
  • Feb 23, 2024 EPSS Score
  • Mar 25, 2024 EPSS Score
  • Apr 26, 2024 EPSS Score
  • May 27, 2024 EPSS Score
  • Jun 27, 2024 EPSS Score
  • Jul 28, 2024 EPSS Score
  • Aug 29, 2024 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›