CVE-2023-45681Out-of-bounds Write in STB Vorbis.c

Severity
7.8HIGHNVD
CNA7.3
EPSS
0.0%
top 84.91%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 21

Description

stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory write past an allocated heap buffer in `start_decoder`. The root cause is a potential integer overflow in `sizeof(char*) * (f->comment_list_length)` which may make `setup_malloc` allocate less memory than required. Since there is another integer overflow an attacker may overflow it too to force `setup_malloc` to return 0 and make the exploit more reliable. This issue may lead to co

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages2 packages

CVEListV5nothings/stb1.22

🔴Vulnerability Details

2
OSV
CVE-2023-45681: stb_vorbis is a single file MIT licensed library for processing ogg vorbis files2023-10-21
CVEList
Out of bounds heap buffer write in stb_vorbis2023-10-20

📋Vendor Advisories

1
Debian
CVE-2023-45681: libstb - stb_vorbis is a single file MIT licensed library for processing ogg vorbis files...2023
CVE-2023-45681 — Out-of-bounds Write in STB Vorbis.c | cvebase