CVE-2023-45681
CVE-2023-45681 is a high-severity vulnerability in Nothings Stb Vorbis.c with a CVSS 3.x base score of 7.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-190.
Key facts
- Severity: High (CVSS 3.x base score 7.3)
- EPSS exploit prediction: 1% (40th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-190
- Affected product: Nothings Stb Vorbis.c
- Published:
- Last modified:
Description
stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory write past an allocated heap buffer in `start_decoder`. The root cause is a potential integer overflow in `sizeof(char*) * (f->comment_list_length)` which may make `setup_malloc` allocate less memory than required. Since there is another integer overflow an attacker may overflow it too to force `setup_malloc` to return 0 and make the exploit more reliable. This issue may lead to code execution.
Frequently asked questions
- What is CVE-2023-45681?
- stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory write past an allocated heap buffer in `start_decoder`. The root cause is a potential integer overflow in `sizeof(char*) * (f->comment_list_length)` which may make `setup_malloc` allocate less memory than required. Since there is another integer overflow an attacker may overflow it too to force `setup_malloc` to return 0 and make the exploit more reliable. This issue may lead to code execution.
- How severe is CVE-2023-45681?
- CVE-2023-45681 has a CVSS 3.x base score of 7.3, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2023-45681 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (40th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-45681?
- CVE-2023-45681 affects Nothings Stb Vorbis.c. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2023-45681?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2023-45681 published?
- CVE-2023-45681 was published on 2023-10-21 and last updated on 2026-06-17.
References
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L3660-L3677
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2MHQQXX27ACLLYUQHWSL3DVCOGUK5ZA4/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2WRORYQ2Z2XXHPX36JHBUSDVY6IOMW2N/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LBIPXOBWUHPAH4QHMVP2AWWAPDDZDQ66/
- https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/
Affected products (1)
- cpe:2.3:a:nothings:stb_vorbis.c:1.22:*:*:*:*:*:*:*
More vulnerabilities in Nothings Stb Vorbis.c
- CVE-2023-47212 — Critical (CVSS 9.8): A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22. A specially…
- CVE-2023-45679 — High (CVSS 7.3): stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger memory…
- CVE-2023-45677 — High (CVSS 7.3): stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of…
- CVE-2023-45676 — High (CVSS 7.3): stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of…
- CVE-2023-45678 — Medium (CVSS 6.5): stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of…
- CVE-2023-45675 — Medium (CVSS 6.5): stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of…
All CVEs affecting Nothings Stb Vorbis.c →
Other CWE-190 (Integer Overflow or Wraparound) vulnerabilities
- CVE-2026-4689 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions, integer overflow in the XPCOM component. This vulnerability was…
- CVE-2026-24814 — Critical (CVSS 10.0): Integer Overflow or Wraparound vulnerability in swoole swoole-src (thirdparty/hiredis modules). This vulnerability is…
- CVE-2025-64721 — Critical (CVSS 10.0): Sandboxie is a sandbox-based isolation software for 32-bit and 64-bit Windows NT-based operating systems. In versions…
- CVE-2015-5108 — Critical (CVSS 10.0): Integer overflow in Adobe Reader and Acrobat 10.x before 10.1.15 and 11.x before 11.0.12, Acrobat and Acrobat Reader DC…
- CVE-2015-5097 — Critical (CVSS 10.0): Integer overflow in Adobe Reader and Acrobat 10.x before 10.1.15 and 11.x before 11.0.12, Acrobat and Acrobat Reader DC…
- CVE-2013-2555 — Critical (CVSS 10.0): Integer overflow in Adobe Flash Player before 10.3.183.75 and 11.x before 11.7.700.169 on Windows and Mac OS X, before…
Browse all CWE-190 (Integer Overflow or Wraparound) vulnerabilities →