PT-2023-9143 · Unknown+2 · Stb Vorbis.C+2
Francesco Benvenuto
·
Published
2023-11-15
·
Updated
2025-08-22
·
CVE-2023-47212
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
stb vorbis.c version 1.22
Description
A heap-based buffer overflow vulnerability exists in the comment functionality of stb vorbis.c. A specially crafted .ogg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability, potentially allowing for code execution. The root cause is a potential integer overflow in
sizeof(char*) * (f->comment list length), which may cause setup malloc to allocate less memory than required.Recommendations
As a temporary workaround, consider disabling the
start decoder function until a patch is available. Restrict access to the comment functionality in stb vorbis.c to minimize the risk of exploitation. Avoid using specially crafted .ogg files with stb vorbis.c until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Heap Based Buffer Overflow
Memory Corruption
Integer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Debian
Stb Vorbis.C