High severity · published Oct 21, 2023
CVE-2023-45682
stb_vorbis is a single file MIT licensed library for processing ogg vorbis files
7.1
CVSS
0.6%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 48% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SV
Stb Vorbis.c · Nothings
1.22 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-45682
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-45682
Third Party Advisory
https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L1717-L1729
Third Party Advisory
https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L1754-L1756
Third Party Advisory
https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L3231
Third Party Advisory
https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/
More from Stb Vorbis.c
9.8
CVE-2023-47212
A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22
8.8
CVE-2026-5317
Nothings stb stb_vorbis.c start_decoder out-of-bounds write
7.8
CVE-2023-45681
stb_vorbis is a single file MIT licensed library for processing ogg vorbis files
7.8
CVE-2023-45679
stb_vorbis is a single file MIT licensed library for processing ogg vorbis files
7.8
CVE-2023-45678
stb_vorbis is a single file MIT licensed library for processing ogg vorbis files
