Multi-byte write heap buffer overflow in start_decoder in stb_vorbis
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2023-45676
References
More nothings Stb Vorbis.c vulnerabilities
- TI-2023-25531 Integer overflow in stb_vorbis.c CVSS 3.1CRITICAL 9.8
- TI-2023-24478 Attempt to free an uninitialized memory pointer in vorbis_deinit in stb_vorbis CVSS 3.1HIGH 7.8
- TI-2023-24477 Off-by-one heap buffer write in start_decoder in stb_vorbis CVSS 3.1HIGH 7.8
- TI-2023-24476 Heap buffer out of bounds write in start_decoder in stb_vorbis CVSS 3.1HIGH 7.8
- TI-2023-24474 0 byte write heap buffer overflow in start_decoder in stb_vorbis CVSS 3.1HIGH 7.8
- TI-2023-24481 Wild address read in vorbis_decode_packet_rest in stb_vorbis CVSS 3.1HIGH 7.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences