CVE-2023-45675

CVSS 3.1 Score 7.8 of 10 (high)

Details

Published Oct 21, 2023
Updated: Nov 4, 2023
CWE ID 787

Summary

CVE-2023-45675 is a vulnerability affecting the stb_vorbis library, which is used for processing OGG Vorbis files. A specially crafted file can cause an out-of-bounds write issue in the `f->vendor[len]` assignment. This occurs when the length `len` read in `start_decoder` is `-1` and `len + 1` becomes 0 when passed to `setup_malloc`. The library behaves differently in this scenario depending on whether `f->alloc.alloc_buffer` is pre-allocated. In the pre-allocated case, `setup_malloc` shifts the pre-allocated buffer by zero and returns the currently available memory block instead of `NULL`. This vulnerability may lead to arbitrary code execution.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share