Lucene search

K
prionPRIOn knowledge basePRION:CVE-2023-45675
HistoryOct 21, 2023 - 12:15 a.m.

Out-of-bounds

2023-10-2100:15:00
PRIOn knowledge base
www.prio-n.com
5
stb_vorbis
library
vulnerability
out-of-bounds
write
crafted file
ogg vorbis
code execution
mit licensed

8.7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

28.3%

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 the len read in start_decoder is -1 and len + 1 becomes 0 when passed to setup_malloc. The setup_malloc behaves differently when f->alloc.alloc_buffer is pre-allocated. Instead of returning NULL as in malloc case it shifts the pre-allocated buffer by zero and returns the currently available memory block. This issue may lead to code execution.

CPENameOperatorVersion
stb_vorbis.ceq1.22

8.7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

28.3%