stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds read in `DECODE` macro when `var` is negative. As it can be seen in the definition of `DECODE_RAW` a negative `var` is a valid value. This issue may be used to leak internal memory allocation information.
Cite this page
CVE-2023-45682. CVEDatabase.com. Retrieved 3 May 2026. https://cvedatabase.com/cve/CVE-2023-45682
Use CWE-125, Nothings vendor hub and Stb Vorbis.C product page to widen CVE-2023-45682 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2023-47212, CVE-2023-45681 and CVE-2023-45679 for nearby disclosures in the same product family.