
Cloud Vulnerability DB
A community-led vulnerabilities database
stbvorbis 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 vulnerability was discovered in October 2023 and assigned CVE-2023-45677. The affected component is stbvorbis version 1.22 (NVD).
The root cause is that if len read in start_decoder is a negative number and setup_malloc successfully allocates memory in that case, but memory write is done with a negative index len. Similarly if len is INTMAX the integer overflow len+1 happens in f->vendor = (char*)setup_malloc(f, sizeof(char) * (len+1)); and `f->commentlist[i] = (char)setup_malloc(f, sizeof(char) (len+1));`. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 HIGH (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) by NVD (NVD).
This vulnerability can lead to code execution through heap buffer overflow. The out-of-bounds write can potentially allow an attacker to execute arbitrary code by corrupting heap memory (GitHub Security Lab).
The vulnerability affects version 1.22 of stb_vorbis. Users should update to a patched version when available. In the meantime, input validation should be implemented to check for negative length values and integer overflow conditions before processing ogg vorbis files (Debian Security Tracker).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."