Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-45677— Heap buffer out of bounds write in start_decoder in stb_vorbis

Quick assessment

Affected
nothings stb
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

stb_vorbis是一款开源的用于解码ogg vorbis文件的音频解码器。 stb_vorbis 存在安全漏洞,该漏洞源于精心设计的文件可能会触发“f->vendor[len] = (char) ;”中的越界写入。

CVSS 7.3 · High EPSS 0.54% · P43

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-45677

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Heap buffer out of bounds write in start_decoder in stb_vorbis
Source: CVE Program / CVE List V5
Vulnerability Description
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 `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 INT_MAX the integer overflow len+1 happens in `f->vendor = (char*)setup_malloc(f, sizeof(char) * (len+1));` and `f->comment_list[i] = (char*)setup_malloc(f, sizeof(char) * (len+1));`. This issue may lead to code execution.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5
Vulnerability Title
stb_vorbis 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
stb_vorbis是一款开源的用于解码ogg vorbis文件的音频解码器。 stb_vorbis 存在安全漏洞,该漏洞源于精心设计的文件可能会触发“f->vendor[len] = (char) ;”中的越界写入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
nothings stb <= 1.22 -

II. Public POCs for CVE-2023-45677

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 12511 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2023-45677

请登录查看更多情报信息。

Other References for CVE-2023-45677 (6)

Same Patch Batch · nothings · 2023-10-20 · 14 CVEs total

CVE-2023-45681 7.3 HIGH Out of bounds heap buffer write in stb_vorbis
CVE-2023-45679 7.3 HIGH Attempt to free an uninitialized memory pointer in vorbis_deinit in stb_vorbis
CVE-2023-45676 7.3 HIGH Multi-byte write heap buffer overflow in start_decoder in stb_vorbis
CVE-2023-45666 7.3 HIGH Possible double-free or memory leak in stbi__load_gif_main in stb_image
CVE-2023-45664 7.3 HIGH Double-free in stbi__load_gif_main_outofmem in stb_image
CVE-2023-45678 6.5 MEDIUM Off-by-one heap buffer write in start_decoder in stb_vorbis
CVE-2023-45675 6.5 MEDIUM 0 byte write heap buffer overflow in start_decoder in stb_vorbis
CVE-2023-45662 6.5 MEDIUM Multi-byte read heap buffer overflow in stbi__vertical_flip in stb_image
CVE-2023-45661 6.5 MEDIUM Wild address read in stbi__gif_load_next in stb_image
CVE-2023-45682 5.3 MEDIUM Wild address read in vorbis_decode_packet_rest in stb_vorbis
CVE-2023-45680 5.3 MEDIUM Null pointer dereference in vorbis_deinit in stb_vorbis
CVE-2023-45667 5.3 MEDIUM Null pointer dereference because of an uninitialized variable in stb_image
CVE-2023-45663 5.3 MEDIUM Disclosure of uninitialized memory in stbi__tga_load in stb_image

IV. Related Vulnerabilities

V. Comments for CVE-2023-45677

No comments yet


Leave a comment