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.
Advisories
Source ID Title
EUVD EUVD EUVD-2023-49966 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-09-12T13:38:48.646Z

Reserved: 2023-10-10T14:36:40.861Z

Link: CVE-2023-45676

cve-icon Vulnrichment

Updated: 2024-08-02T20:21:16.812Z

cve-icon NVD

Status : Modified

Published: 2023-10-21T00:15:09.277

Modified: 2024-11-21T08:27:11.677

Link: CVE-2023-45676

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.