Out-of-bounds Read in Nothings Stb
CVE-2023-45682
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`…
Vulnerability class: Buffer Overflow
EPSS: 0.000 (6.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Nothings Stb — versions <= 1.22
Weakness classification (CWE)
References
- https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ (x_refsource_CONFIRM)
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L1717-L1729 (x_refsource_MISC)
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L1754-L1756 (x_refsource_MISC)
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L3231 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2023-45682?
- CVE-2023-45682 is a medium-severity vulnerability in Nothings Stb, classified under Out-of-bounds Read. CVSS score: 5.3/10. Published 2023-10-20.
- How severe is CVE-2023-45682?
- Medium severity. CVSS v3 base score is 5.3 out of 10.