Buffer overflow in Nothings Stb
CVE-2023-45677
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 `len` read in `start_decoder` is a negative numbe…
Vulnerability class: Buffer Overflow
EPSS: 0.001 (16.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/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#L3652-L3658 (x_refsource_MISC)
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L3653 (x_refsource_MISC)
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L3658 (x_refsource_MISC)
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L3670C7-L3670C75 (x_refsource_MISC)
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L950-L961 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2023-45677?
- CVE-2023-45677 is a high-severity vulnerability in Nothings Stb, classified under Out-of-bounds Write. CVSS score: 7.3/10. Published 2023-10-20.
- How severe is CVE-2023-45677?
- High severity. CVSS v3 base score is 7.3 out of 10.