CVE-2023-45676
Multi-byte write heap buffer overflow in start_decoder in stb_vorbis
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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[i] = get8_packet(f);`. The root cause is an integer overflow in `setup_malloc`. A sufficiently large value in the variable `sz` overflows with `sz+7` in and the negative value passes the maximum available memory buffer check. This issue may lead to code execution.
stb_vorbis es una librería de archivo único con licencia MIT para procesar archivos ogg vorbis. Un archivo manipulado puede provocar una escritura fuera de límites en `f->vendor[i] = get8_packet(f);`. La causa principal es un desbordamiento de enteros en `setup_malloc`. Un valor suficientemente grande en la variable `sz` se desborda con `sz+7` y el valor negativo pasa la verificación del búfer de memoria máxima disponible. Este problema puede provocar la ejecución del código.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2023-10-10 CVE Reserved
- 2023-10-20 CVE Published
- 2023-10-27 EPSS Updated
- 2024-09-12 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-787: Out-of-bounds Write
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L3656 | Third Party Advisory | |
https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L950-L960 | Third Party Advisory | |
https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Nothings Search vendor "Nothings" | Stb Vorbis.c Search vendor "Nothings" for product "Stb Vorbis.c" | 1.22 Search vendor "Nothings" for product "Stb Vorbis.c" and version "1.22" | - |
Affected
|