{"id":"CVE-2023-45676","published":"2023-10-20T23:26:47Z","modified":"2024-09-12T13:38:48Z","title":"Multi-byte write heap buffer overflow in start_decoder in stb_vorbis","vendor":"nothings","product":"stb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00505,"percentile":0.44081,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L3656","tags":["x_refsource_MISC"]},{"url":"https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L950-L960","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":8.82},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"nothings","affectedVersions":[{"vendor":"nothings","product":"stb","versions":["<= 1.22"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-12T13:32:47.392211Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-49966","exploited":false,"provenance":"source"}}