CVE-2023-45675
Published:October 20, 2023
Updated:May 17, 2026
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 the len read in "start_decoder" is "-1" and "len + 1" becomes 0 when passed to "setup_malloc". The "setup_malloc" behaves differently when "f->alloc.alloc_buffer" is pre-allocated. Instead of returning "NULL" as in "malloc" case it shifts the pre-allocated buffer by zero and returns the currently available memory block. This issue may lead to code execution.
Affected Packages
om-fork-ep-miniaudio-sys (RUST):
Affected version(s) >=2.5.0 <=2.6.2Fix Suggestion:
Update to version no_fixrustyray-sys (RUST):
Affected version(s) >=0.1.0 <=0.1.10Fix Suggestion:
Update to version no_fixraylib-ffi (RUST):
Affected version(s) >=4.5.0 <=5.5.0Fix Suggestion:
Update to version no_fixminiaudio-sys (RUST):
Affected version(s) =0.0.0Fix Suggestion:
Update to version no_fixfluidlite-sys (RUST):
Affected version(s) =0.2.0 <0.2.1Fix Suggestion:
Update to version 0.2.1webots-bindings (RUST):
Affected version(s) >=0.1.2 <=0.8.0Fix Suggestion:
Update to version no_fixsynthizer-sys (RUST):
Affected version(s) >=0.8.0 <=0.10.10Fix Suggestion:
Update to version no_fixstb-sys (RUST):
Affected version(s) >=0.1.1 <=0.6.0Fix Suggestion:
Update to version no_fixvuk (RUST):
Affected version(s) =0.0.1Fix Suggestion:
Update to version no_fixraylib-sys (RUST):
Affected version(s) >=5.0.0 <5.5.0Fix Suggestion:
Update to version 5.5.0ep-miniaudio-sys (RUST):
Affected version(s) >=2.3.1 <=2.4.0Fix Suggestion:
Update to version no_fixRelated Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Out-of-bounds Write
EPSS
Base Score:
0.09