{"id":"CVE-2023-47212","aliases":["BELL-CVE-2023-47212","DEBIAN-CVE-2023-47212","EUVD-2023-51344","GHSA-w3gr-x835-r39j","MGASA-2024-0186","OESA-2024-1583","UBUNTU-CVE-2023-47212"],"status":"published","title":"A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c...","description":"A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22. A specially crafted .ogg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0141,"percentile":0.73047,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-190","CWE-787"],"published":"2024-05-01T15:31:02Z","modified":"2026-10-26T18:02:58Z","affected":[{"source":"osv","ecosystem":"Alpaquita:23","package":"stb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0_git20231012-r0"}]}]},{"source":"osv","ecosystem":"Alpaquita:stream","package":"stb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0_git20231012-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20220908.8b5f1f3+ds-1","0.0~git20230129.5736b15+ds-1","0.0~git20230129.5736b15+ds-1.1","0.0~git20230129.5736b15+ds-1.1~exp1","0.0~git20230129.5736b15+ds-1.2","0.0~git20240715.f7f20f39fe4f+ds-1","0.0~git20241109.5c20573+ds-1","0.0~git20250907.fede005+ds-1"]},{"source":"osv","ecosystem":"Debian:13","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20241109.5c20573+ds-1","0.0~git20250907.fede005+ds-1"]},{"source":"osv","ecosystem":"Debian:14","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20241109.5c20573+ds-1","0.0~git20250907.fede005+ds-1"]},{"source":"osv","ecosystem":"Mageia:9","package":"stb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0-0.git20230129.4.1.mga9"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"stb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20220908git8b5f1f3-0.16.oe2203sp3"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20190817.1.052dce1-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20200713.b42009b+ds-1","0.0~git20210910.af1a5bc+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20230129.5736b15+ds-1","0.0~git20230129.5736b15+ds-1.1","0.0~git20230129.5736b15+ds-1.2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20240715.f7f20f39fe4f+ds-1","0.0~git20241109.5c20573+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20250907.fede005+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libstb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20241109.5c20573+ds-1","0.0~git20250907.fede005+ds-1"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"nothings","product":"stb_vorbis.c"},{"vendor":"stb","product":"stb_vorbis.c"},{"vendor":"stb_vorbis_project","product":"stb_vorbis"}],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2023-1846","tags":["x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LBIPXOBWUHPAH4QHMVP2AWWAPDDZDQ66/","tags":["x_transferred","Mailing List","article"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2WRORYQ2Z2XXHPX36JHBUSDVY6IOMW2N/","tags":["x_transferred","Mailing List","article"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MHQQXX27ACLLYUQHWSL3DVCOGUK5ZA4/","tags":["x_transferred","Mailing List","article","web"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2023-1846","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-47212","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MHQQXX27ACLLYUQHWSL3DVCOGUK5ZA4"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2WRORYQ2Z2XXHPX36JHBUSDVY6IOMW2N"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LBIPXOBWUHPAH4QHMVP2AWWAPDDZDQ66"},{"url":"https://github.com/advisories/GHSA-w3gr-x835-r39j"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2023-47212","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-47212","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0186.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33205","tags":["report"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1583","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45681","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-47212","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-47212","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-47212","description":"A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22. A specially crafted .ogg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2024-05-01T15:31:02.603Z","modified":"2025-11-04T17:12:54.25Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:35:13.912858Z"}],"euvd":[{"id":"EUVD-2023-51344","description":"A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22. A specially crafted .ogg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2024-05-01T15:31:02Z","modified":"2025-11-04T17:12:54Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T19:49:28.381167Z"}],"ghsa":[{"id":"GHSA-w3gr-x835-r39j","title":"A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c...","description":"A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22. A specially crafted .ogg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2024-05-01T18:30:41Z","modified":"2025-11-04T18:30:56Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-190","CWE-787"],"updated_at":"2026-11-02T15:04:33.412684Z"}],"nvd":[{"id":"CVE-2023-47212","description":"A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22. A specially crafted .ogg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2024-05-01T16:15:07.033Z","modified":"2026-06-17T06:32:22.41Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-190","CWE-787"],"updated_at":"2026-11-02T14:09:11.362739Z"}],"osv":[{"id":"BELL-CVE-2023-47212","status":"published","published":"2024-05-03T05:57:33.452129Z","modified":"2026-01-26T09:35:35.181521Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:28:17.742221Z"},{"id":"CVE-2023-47212","description":"A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22. A specially crafted .ogg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2024-05-01T16:15:07.033Z","modified":"2026-04-16T04:43:12.79433728Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:34.287121Z"},{"id":"DEBIAN-CVE-2023-47212","description":"A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22. A specially crafted .ogg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2024-05-01T16:15:07.033Z","modified":"2026-10-26T18:02:58.499878954Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:40.275853Z"},{"id":"OESA-2024-1583","title":"stb security update","description":"Single-file public domain libraries for C/C++.\r\n\r\nSecurity Fix(es):\r\n\r\nstb_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-\u0026gt;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.(CVE-2023-45681)\r\n\r\nA heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22. A specially crafted .ogg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.(CVE-2023-47212)","status":"published","published":"2024-05-17T11:07:02Z","modified":"2026-08-18T01:18:25.985831284Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:41.095407Z"},{"id":"UBUNTU-CVE-2023-47212","description":"A heap-based buffer overflow vulnerability exists in the comment functionality of stb _vorbis.c v1.22. A specially crafted .ogg file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.","status":"published","published":"2024-05-01T16:15:00Z","modified":"2026-10-17T12:57:21.579653841Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:54:23.935133Z"},{"id":"MGASA-2024-0186","title":"Updated stb packages fix security vulnerabilities","description":"stb_vorbis is a single file MIT licensed library for processing ogg\nvorbis files. A crafted file may trigger memory write past an allocated\nheap buffer in `start_decoder`. The root cause is a potential integer\noverflow in `sizeof(char*) * (f-\u003ecomment_list_length)` which may make\n`setup_malloc` allocate less memory than required. Since there is\nanother integer overflow an attacker may overflow it too to force\n`setup_malloc` to return 0 and make the exploit more reliable. This\nissue may lead to code execution.\n","status":"published","published":"2024-05-21T23:17:20Z","modified":"2026-04-16T04:42:21.648781092Z","updated_at":"2026-11-02T15:49:42.684501Z"}]}}
