{"id":"CVE-2023-45678","aliases":["CVE-2023-45678"],"related":[],"kind":"vulnerability","state":"published","title":"Off-by-one heap buffer write in start_decoder in stb_vorbis","summary":"stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of buffer write in `start_decoder` because at maximum `m->submaps` can be 16 but `submap_floor` and `submap_residue` are declared as arrays of 15 elements. This issue may lead to code execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of buffer write in `start_decoder` because at maximum `m->submaps` can be 16 but `submap_floor` and `submap_residue` are declared as arrays of 15 elements. This issue may lead to code execution.","source":"cvelist"},{"lang":"es","text":"stb_vorbis es una librería de archivo único con licencia MIT para procesar archivos ogg vorbis. Un archivo manipulado puede desencadenar una escritura fuera del búfer en `start_decoder` porque, como máximo, `m-&gt;submaps` puede ser 16, pero `submap_floor` y `submap_residue` se declaran como matrices de 15 elementos. Este problema puede provocar la ejecución del código.","source":"nvd"}],"published":"2023-10-20T23:26:51.139Z","modified":"2026-06-17T06:29:20.890Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"<= 1.22","status":"affected"}],"vendor":"nothings","product":"stb","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"1.22","status":"affected"}],"vendor":"nothings","product":"stb","cpe":"cpe:2.3:a:nothings:stb:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","version":"1.22"}],"vendor":"nothings","product":"stb_vorbis.c","cpe":"cpe:2.3:a:nothings:stb_vorbis.c:1.22:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L4074-L4079","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_vorbis.c#L753-L760","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-09-12T13:32:11.839Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-45678","url":"https://www.cve.org/CVERecord?id=CVE-2023-45678","licence":"CVE Terms of Use","modified":"2024-09-12T13:37:04.169Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-45678","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45678","licence":"Public domain","modified":"2026-06-17T06:29:20.890Z"}],"updatedAt":"2026-11-25T22:58:28.997Z","epss":{"score":0.0074,"percentile":0.55817,"date":"2026-12-01T12:00:22.000Z"}}